#R-Script Dissertation Niklas Knust

#INSTALL PACKAGES
install.packages("pastecs", dependencies = TRUE)
install.packages("boot")
install.packages("gmodels", dependencies = TRUE)
install.packages("foreign", dependencies = TRUE)
install.packages("Hmisc", dependencies = TRUE)
install.packages("aod", dependencies = TRUE)
install.packages("ggplot2", dependencies = TRUE)
install.packages("mlogit", dependencies = TRUE)
install.packages("car", dependencies = TRUE)
install.packages("GGally", dependencies = TRUE)
install.packages("survival", dependencies = TRUE)
install.packages("rgl", dependencies = TRUE)


#LOADING PACKAGES
library(boot)
library(pastecs)
library(gmodels)
library(foreign)
library(Hmisc)
library(aod)
library(ggplot2)
library(mlogit)
library(car)
library(GGally)
library(survival)
library(rgl)


getwd()
setwd("C:/Concentration Index")

#DATENSATZ LADEN
ESS=read.csv("C:/Data for coindex.csv", header=TRUE, sep=",")
attach(ESS)
head(ESS)


#HOUSEHOLD INCOME
COUNTRY=cntry

WAVE=essround

GENDER=as.numeric(gndr) #1=male 2=female
  GENDER[GENDER==1]=0 #male=0
  GENDER[GENDER==2]=1 #female=1
  GENDER[GENDER==9]=NA

AGE=agea
  AGE[AGE==999]=NA

UNEMPLOYED=factor(c(0,1), ordered=TRUE)
  UNEMPLOYED[uempla==0]=0
  UNEMPLOYED[uempli==0]=0  
  UNEMPLOYED[uempla==1]=1
  UNEMPLOYED[uempli==1]=1
  table(UNEMPLOYED)

###For essround 1, 2, 3, 4, EDUCATION=edulvla  
###For essround 5, 6, 7, 8, 9, EDUCATION=eisced  
EDUCATION=edulvla
  EDUCATION[EDUCATION==55]=NA
  EDUCATION[EDUCATION==77]=NA
  EDUCATION[EDUCATION==88]=NA
  EDUCATION[EDUCATION==99]=NA
  
INCOME=factor(c(1,2,3,4,5,6,7,8,9,10,11,12,99), ordered = TRUE)
  table(INCOME)
  table(hinctnt)
  table(hinctnta)
    INCOME[hinctnt==1]=1
    INCOME[hinctnt==2]=2
    INCOME[hinctnt==3]=3
    INCOME[hinctnt==4]=4
    INCOME[hinctnt==5]=5
    INCOME[hinctnt==6]=6
    INCOME[hinctnt==7]=7
    INCOME[hinctnt==8]=8
    INCOME[hinctnt==9]=9
    INCOME[hinctnt==10]=10
    INCOME[hinctnt==11]=11
    INCOME[hinctnt==12]=12
    INCOME[hinctnt==77]=99
    INCOME[hinctnt==88]=99
    INCOME[hinctnt==99]=99
    INCOME[hinctnta==1]=1
    INCOME[hinctnta==2]=2
    INCOME[hinctnta==3]=3
    INCOME[hinctnta==4]=4
    INCOME[hinctnta==5]=5
    INCOME[hinctnta==6]=6
    INCOME[hinctnta==7]=7
    INCOME[hinctnta==8]=8
    INCOME[hinctnta==9]=9
    INCOME[hinctnta==10]=10
    INCOME[hinctnta==11]=11
    INCOME[hinctnta==12]=12
    INCOME[hinctnta==77]=99
    INCOME[hinctnta==88]=99
    INCOME[hinctnta==99]=99
    INCOME[INCOME==99]=NA
    hinctnt[INCOME==99]=NA
    hinctnta[INCOME==99]=NA

    
LBOUND=factor(c(0:40000), ordered=TRUE)
UBOUND=factor(c(0:40000), ordered=TRUE)

  #missing für hinctnt und hinctnta DEFINIEREN!!!
      LBOUND[is.na(INCOME)]=NA
      UBOUND[is.na(INCOME)]=NA
      
  #essround 1-3
      #category 1: 0-149
      LBOUND[INCOME==1]=0
      UBOUND[INCOME==1]=149
      #category 2: 150-299
      LBOUND[INCOME==2]=150
      UBOUND[INCOME==2]=299
      #category 3: 300-499
      LBOUND[INCOME==3]=300
      UBOUND[INCOME==3]=499
      #category 4: 500-999
      LBOUND[INCOME==4]=500
      UBOUND[INCOME==4]=999
      #category 5: 100-1499
      LBOUND[INCOME==5]=1000
      UBOUND[INCOME==5]=1499
      #category 6: 1500-1999
      LBOUND[INCOME==6]=1500
      UBOUND[INCOME==6]=1999
      #category 7: 2000-2499
      LBOUND[INCOME==7]=2000
      UBOUND[INCOME==7]=2499
      #category 8: 2500-2999
      LBOUND[INCOME==8]=2500
      UBOUND[INCOME==8]=2999
      #category 9: 3000-4999
      LBOUND[INCOME==9]=3000
      UBOUND[INCOME==9]=4999
      #category 10: 5000-7499
      LBOUND[INCOME==10]=5000
      UBOUND[INCOME==10]=7499
      #category 11: 7500-9999
      LBOUND[INCOME==11]=7500
      UBOUND[INCOME==11]=9999
      #category 12: 10.000 - ???
      LBOUND[INCOME==12]=10000
      UBOUND[INCOME==12]=30000
            
  #ess round 4-9
      #AUSTRIA
        #category 1: 
          #2008: 0-299
          LBOUND[hinctnta==1&cntry=="AT"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="AT"&essround==4]=299
          #2010: 0-299
          LBOUND[hinctnta==1&cntry=="AT"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="AT"&essround==5]=299
          #2014: 0-1050
          LBOUND[hinctnta==1&cntry=="AT"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="AT"&essround==7]=1050
          #2016: 0-1233
          LBOUND[hinctnta==1&cntry=="AT"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="AT"&essround==8]=1233
          #2018: 0-1275
          LBOUND[hinctnta==1&cntry=="AT"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="AT"&essround==9]=1275
        #category 2:
          #2008: 300-499
          LBOUND[hinctnta==2&cntry=="AT"&essround==4]=300
          UBOUND[hinctnta==2&cntry=="AT"&essround==4]=499
          #2010: 300-499
          LBOUND[hinctnta==2&cntry=="AT"&essround==5]=300
          UBOUND[hinctnta==2&cntry=="AT"&essround==5]=499
          #2014: 1051-1508
          LBOUND[hinctnta==2&cntry=="AT"&essround==7]=1051
          UBOUND[hinctnta==2&cntry=="AT"&essround==7]=1508
          #2016: 1234-1650
          LBOUND[hinctnta==2&cntry=="AT"&essround==8]=1234
          UBOUND[hinctnta==2&cntry=="AT"&essround==8]=1650
          #2018: 1276-1758
          LBOUND[hinctnta==2&cntry=="AT"&essround==9]=1276
          UBOUND[hinctnta==2&cntry=="AT"&essround==9]=1758
        #category 3:
          #2008: 500-999
          LBOUND[hinctnta==3&cntry=="AT"&essround==4]=500
          UBOUND[hinctnta==3&cntry=="AT"&essround==4]=999
          #2010: 500-999
          LBOUND[hinctnta==3&cntry=="AT"&essround==5]=500
          UBOUND[hinctnta==3&cntry=="AT"&essround==5]=999
          #2014: 1509-1900
          LBOUND[hinctnta==3&cntry=="AT"&essround==7]=1509
          UBOUND[hinctnta==3&cntry=="AT"&essround==7]=1900
          #2016: 1651-2017
          LBOUND[hinctnta==3&cntry=="AT"&essround==8]=1651
          UBOUND[hinctnta==3&cntry=="AT"&essround==8]=2017
          #2018: 1759-2142
          LBOUND[hinctnta==3&cntry=="AT"&essround==9]=1759
          UBOUND[hinctnta==3&cntry=="AT"&essround==9]=2142
        #category 4:
          #2008: 1000-1499
          LBOUND[hinctnta==4&cntry=="AT"&essround==4]=1000
          UBOUND[hinctnta==4&cntry=="AT"&essround==4]=1499
          #2010: 1000-1499
          LBOUND[hinctnta==4&cntry=="AT"&essround==5]=1000
          UBOUND[hinctnta==4&cntry=="AT"&essround==5]=1499
          #2014: 1901-2258
          LBOUND[hinctnta==4&cntry=="AT"&essround==7]=1901
          UBOUND[hinctnta==4&cntry=="AT"&essround==7]=2258
          #2016: 2018-2450
          LBOUND[hinctnta==4&cntry=="AT"&essround==8]=2018
          UBOUND[hinctnta==4&cntry=="AT"&essround==8]=2450
          #2018
          LBOUND[hinctnta==4&cntry=="AT"&essround==9]=2143
          UBOUND[hinctnta==4&cntry=="AT"&essround==9]=2583
        #category 5:
          #2008: 1500-1999
          LBOUND[hinctnta==5&cntry=="AT"&essround==4]=1500
          UBOUND[hinctnta==5&cntry=="AT"&essround==4]=1999
          #2010: 1500-1999
          LBOUND[hinctnta==5&cntry=="AT"&essround==5]=1500
          UBOUND[hinctnta==5&cntry=="AT"&essround==5]=1999
          #2014: 2259-2733
          LBOUND[hinctnta==5&cntry=="AT"&essround==7]=2259
          UBOUND[hinctnta==5&cntry=="AT"&essround==7]=2733
          #2016: 2451-2917
          LBOUND[hinctnta==5&cntry=="AT"&essround==8]=2451
          UBOUND[hinctnta==5&cntry=="AT"&essround==8]=2917
          #2018: 2584-3092
          LBOUND[hinctnta==5&cntry=="AT"&essround==9]=2584
          UBOUND[hinctnta==5&cntry=="AT"&essround==9]=3092
        #category 6:
          #2008: 2000-2499
          LBOUND[hinctnta==6&cntry=="AT"&essround==4]=2000
          UBOUND[hinctnta==6&cntry=="AT"&essround==4]=2499
          #2010: 2000-2499
          LBOUND[hinctnta==6&cntry=="AT"&essround==5]=2000
          UBOUND[hinctnta==6&cntry=="AT"&essround==5]=2499
          #2014: 2734-3242
          LBOUND[hinctnta==6&cntry=="AT"&essround==7]=2734
          UBOUND[hinctnta==6&cntry=="AT"&essround==7]=3242
          #2016: 2918-3417
          LBOUND[hinctnta==6&cntry=="AT"&essround==8]=2918
          UBOUND[hinctnta==6&cntry=="AT"&essround==8]=3417
          #2018: 3093-3600
          LBOUND[hinctnta==6&cntry=="AT"&essround==9]=3093
          UBOUND[hinctnta==6&cntry=="AT"&essround==9]=3600
        #category 7:
          #2008: 2500-2999
          LBOUND[hinctnta==7&cntry=="AT"&essround==4]=2500
          UBOUND[hinctnta==7&cntry=="AT"&essround==4]=2999
          #2010: 2500-2999
          LBOUND[hinctnta==7&cntry=="AT"&essround==5]=2500
          UBOUND[hinctnta==7&cntry=="AT"&essround==5]=2999
          #2014: 3243-3800
          LBOUND[hinctnta==7&cntry=="AT"&essround==7]=3243
          UBOUND[hinctnta==7&cntry=="AT"&essround==7]=3800
          #2016: 3418-4000
          LBOUND[hinctnta==7&cntry=="AT"&essround==8]=3418
          UBOUND[hinctnta==7&cntry=="AT"&essround==8]=4000
          #2018: 3601-4283
          LBOUND[hinctnta==7&cntry=="AT"&essround==9]=3601
          UBOUND[hinctnta==7&cntry=="AT"&essround==9]=4283
        #category 8:
          #2008: 3000-4999
          LBOUND[hinctnta==8&cntry=="AT"&essround==4]=3000
          UBOUND[hinctnta==8&cntry=="AT"&essround==4]=4999
          #2010: 3000-4999
          LBOUND[hinctnta==8&cntry=="AT"&essround==5]=3000
          UBOUND[hinctnta==8&cntry=="AT"&essround==5]=4999
          #2014: 3801-4575
          LBOUND[hinctnta==8&cntry=="AT"&essround==7]=3801
          UBOUND[hinctnta==8&cntry=="AT"&essround==7]=4575
          #2016: 4001-4708
          LBOUND[hinctnta==8&cntry=="AT"&essround==8]=4001
          UBOUND[hinctnta==8&cntry=="AT"&essround==8]=4708
          #2018: 4284-5050
          LBOUND[hinctnta==8&cntry=="AT"&essround==9]=4284
          UBOUND[hinctnta==8&cntry=="AT"&essround==9]=5050
        #category 9: 
          #2008: 5000-7499
          LBOUND[hinctnta==9&cntry=="AT"&essround==4]=5000
          UBOUND[hinctnta==9&cntry=="AT"&essround==4]=7499
          #2010: 5000-7499
          LBOUND[hinctnta==9&cntry=="AT"&essround==5]=5000
          UBOUND[hinctnta==9&cntry=="AT"&essround==5]=7499
          #2014: 4576-5900
          LBOUND[hinctnta==9&cntry=="AT"&essround==7]=4576
          UBOUND[hinctnta==9&cntry=="AT"&essround==7]=5900
          #2016: 4709-5892
          LBOUND[hinctnta==9&cntry=="AT"&essround==8]=4709
          UBOUND[hinctnta==9&cntry=="AT"&essround==8]=5892
          #2018: 5051-6458
          LBOUND[hinctnta==9&cntry=="AT"&essround==9]=5051
          UBOUND[hinctnta==9&cntry=="AT"&essround==9]=6458
        #category 10: 
          #2008: 7500-22500
          LBOUND[hinctnta==10&cntry=="AT"&essround==4]=7500
          UBOUND[hinctnta==10&cntry=="AT"&essround==4]=22500
          #2010: 7500-22500
          LBOUND[hinctnta==10&cntry=="AT"&essround==5]=7500
          UBOUND[hinctnta==10&cntry=="AT"&essround==5]=22500
          #2014: 5901-17703
          LBOUND[hinctnta==10&cntry=="AT"&essround==7]=5901
          UBOUND[hinctnta==10&cntry=="AT"&essround==7]=17703
          #2016: 5983-17949
          LBOUND[hinctnta==10&cntry=="AT"&essround==8]=5983
          UBOUND[hinctnta==10&cntry=="AT"&essround==8]=17949
          #2018: 6459-19377
          LBOUND[hinctnta==10&cntry=="AT"&essround==9]=6459
          UBOUND[hinctnta==10&cntry=="AT"&essround==9]=19377
      #BELGIUM
        #category 1:
          #2008: 0-409
          LBOUND[hinctnta==1&cntry=="BE"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==4]=409
          #2010: 0-920
          LBOUND[hinctnta==1&cntry=="BE"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==5]=920
          #2012: 0-1010
          LBOUND[hinctnta==1&cntry=="BE"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==6]=1010
          #2014: 0-1047
          LBOUND[hinctnta==1&cntry=="BE"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==7]=1047
          #2016: 0-1116
          LBOUND[hinctnta==1&cntry=="BE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==8]=1116
          #2018: 0-1192
          LBOUND[hinctnta==1&cntry=="BE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="BE"&essround==9]=1192
        #category 2:
          #2008: 410-799
          LBOUND[hinctnta==2&cntry=="BE"&essround==4]=410
          UBOUND[hinctnta==2&cntry=="BE"&essround==4]=799
          #2010: 921-1180
          LBOUND[hinctnta==2&cntry=="BE"&essround==5]=921
          UBOUND[hinctnta==2&cntry=="BE"&essround==5]=1180
          #2012: 1011-1277
          LBOUND[hinctnta==2&cntry=="BE"&essround==6]=1011
          UBOUND[hinctnta==2&cntry=="BE"&essround==6]=1277
          #2014: 1048-1285
          LBOUND[hinctnta==2&cntry=="BE"&essround==7]=1048
          UBOUND[hinctnta==2&cntry=="BE"&essround==7]=1285
          #2016: 1117-1404
          LBOUND[hinctnta==2&cntry=="BE"&essround==8]=1117
          UBOUND[hinctnta==2&cntry=="BE"&essround==8]=1404
          #2018: 1193-1500
          LBOUND[hinctnta==2&cntry=="BE"&essround==9]=1193
          UBOUND[hinctnta==2&cntry=="BE"&essround==9]=1500
        #category 3:
          #2008: 800-999
          LBOUND[hinctnta==3&cntry=="BE"&essround==4]=800
          UBOUND[hinctnta==3&cntry=="BE"&essround==4]=999
          #2010: 1181-1470
          LBOUND[hinctnta==3&cntry=="BE"&essround==5]=1181
          UBOUND[hinctnta==3&cntry=="BE"&essround==5]=1470
          #2012: 1278-1573
          LBOUND[hinctnta==3&cntry=="BE"&essround==6]=1278
          UBOUND[hinctnta==3&cntry=="BE"&essround==6]=1573
          #2014: 1286-1597
          LBOUND[hinctnta==3&cntry=="BE"&essround==7]=1286
          UBOUND[hinctnta==3&cntry=="BE"&essround==7]=1597
          #2016: 1405-1721
          LBOUND[hinctnta==3&cntry=="BE"&essround==8]=1405
          UBOUND[hinctnta==3&cntry=="BE"&essround==8]=1721
          #2018: 1501-1842
          LBOUND[hinctnta==3&cntry=="BE"&essround==9]=1501
          UBOUND[hinctnta==3&cntry=="BE"&essround==9]=1842
        #category 4:
          #2008: 1000-1249
          LBOUND[hinctnta==4&cntry=="BE"&essround==4]=1000
          UBOUND[hinctnta==4&cntry=="BE"&essround==4]=1249
          #2010: 1471-1780
          LBOUND[hinctnta==4&cntry=="BE"&essround==5]=1471
          UBOUND[hinctnta==4&cntry=="BE"&essround==5]=1780
          #2012: 1574-1893
          LBOUND[hinctnta==4&cntry=="BE"&essround==6]=1574
          UBOUND[hinctnta==4&cntry=="BE"&essround==6]=1893
          #2014: 1598-1933
          LBOUND[hinctnta==4&cntry=="BE"&essround==7]=1598
          UBOUND[hinctnta==4&cntry=="BE"&essround==7]=1933
          #2016: 1722-2101
          LBOUND[hinctnta==4&cntry=="BE"&essround==8]=1722
          UBOUND[hinctnta==4&cntry=="BE"&essround==8]=2101
          #2018: 1843-2250
          LBOUND[hinctnta==4&cntry=="BE"&essround==9]=1843
          UBOUND[hinctnta==4&cntry=="BE"&essround==9]=2250
        #category 5:
          #2008: 1150-1349
          LBOUND[hinctnta==5&cntry=="BE"&essround==4]=1150
          UBOUND[hinctnta==5&cntry=="BE"&essround==4]=1349
          #2010: 1781-2130
          LBOUND[hinctnta==5&cntry=="BE"&essround==5]=1781
          UBOUND[hinctnta==5&cntry=="BE"&essround==5]=2130
          #2012: 1894-2275
          LBOUND[hinctnta==5&cntry=="BE"&essround==6]=1894
          UBOUND[hinctnta==5&cntry=="BE"&essround==6]=2275
          #2014: 1934-2333
          LBOUND[hinctnta==5&cntry=="BE"&essround==7]=1934
          UBOUND[hinctnta==5&cntry=="BE"&essround==7]=2333
          #2016: 2102-2522
          LBOUND[hinctnta==5&cntry=="BE"&essround==8]=2102
          UBOUND[hinctnta==5&cntry=="BE"&essround==8]=2522
          #2018: 2251-2700
          LBOUND[hinctnta==5&cntry=="BE"&essround==9]=2251
          UBOUND[hinctnta==5&cntry=="BE"&essround==9]=2700
        #category 6:
          #2008: 1350-1499
          LBOUND[hinctnta==6&cntry=="BE"&essround==4]=1350
          UBOUND[hinctnta==6&cntry=="BE"&essround==4]=1499
          #2010: 2131-2550
          LBOUND[hinctnta==6&cntry=="BE"&essround==5]=2131
          UBOUND[hinctnta==6&cntry=="BE"&essround==5]=2550
          #2012: 2276-2786
          LBOUND[hinctnta==6&cntry=="BE"&essround==6]=2276
          UBOUND[hinctnta==6&cntry=="BE"&essround==6]=2786
          #2014: 2334-2825
          LBOUND[hinctnta==6&cntry=="BE"&essround==7]=2334
          UBOUND[hinctnta==6&cntry=="BE"&essround==7]=2825
          #2016: 2523-3058
          LBOUND[hinctnta==6&cntry=="BE"&essround==8]=2523
          UBOUND[hinctnta==6&cntry=="BE"&essround==8]=3058
          #2018: 2701-3275
          LBOUND[hinctnta==6&cntry=="BE"&essround==9]=2701
          UBOUND[hinctnta==6&cntry=="BE"&essround==9]=3275
        #category 7:
          #2008: 1500-1749
          LBOUND[hinctnta==7&cntry=="BE"&essround==4]=1500
          UBOUND[hinctnta==7&cntry=="BE"&essround==4]=1749
          #2010: 2551-3120
          LBOUND[hinctnta==7&cntry=="BE"&essround==5]=2551
          UBOUND[hinctnta==7&cntry=="BE"&essround==5]=3120
          #2012: 2787-3354
          LBOUND[hinctnta==7&cntry=="BE"&essround==6]=2787
          UBOUND[hinctnta==7&cntry=="BE"&essround==6]=3354
          #2014: 2826-3407
          LBOUND[hinctnta==7&cntry=="BE"&essround==7]=2826
          UBOUND[hinctnta==7&cntry=="BE"&essround==7]=3407
          #2016: 3059-3739
          LBOUND[hinctnta==7&cntry=="BE"&essround==8]=3059
          UBOUND[hinctnta==7&cntry=="BE"&essround==8]=3739
          #2018: 3276-4008
          LBOUND[hinctnta==7&cntry=="BE"&essround==9]=3276
          UBOUND[hinctnta==7&cntry=="BE"&essround==9]=4008
        #category 8:
          #2008: 1750-2149
          LBOUND[hinctnta==8&cntry=="BE"&essround==4]=1750
          UBOUND[hinctnta==8&cntry=="BE"&essround==4]=2149
          #2010: 3121-3740
          LBOUND[hinctnta==8&cntry=="BE"&essround==5]=3121
          UBOUND[hinctnta==8&cntry=="BE"&essround==5]=3740
          #2012: 3355-4000
          LBOUND[hinctnta==8&cntry=="BE"&essround==6]=3355
          UBOUND[hinctnta==8&cntry=="BE"&essround==6]=4000
          #2014: 3408-4150
          LBOUND[hinctnta==8&cntry=="BE"&essround==7]=3408
          UBOUND[hinctnta==8&cntry=="BE"&essround==7]=4150
          #2016: 3740-4528
          LBOUND[hinctnta==8&cntry=="BE"&essround==8]=3740
          UBOUND[hinctnta==8&cntry=="BE"&essround==8]=4528
          #2018: 4009-4850
          LBOUND[hinctnta==8&cntry=="BE"&essround==9]=4009
          UBOUND[hinctnta==8&cntry=="BE"&essround==9]=4850
        #category 9:
          #2008: 2150-2899
          LBOUND[hinctnta==9&cntry=="BE"&essround==4]=2150
          UBOUND[hinctnta==9&cntry=="BE"&essround==4]=2899
          #2010: 3741-4730
          LBOUND[hinctnta==9&cntry=="BE"&essround==5]=3741
          UBOUND[hinctnta==9&cntry=="BE"&essround==5]=4730
          #2012: 4001-5019
          LBOUND[hinctnta==9&cntry=="BE"&essround==6]=4001
          UBOUND[hinctnta==9&cntry=="BE"&essround==6]=5019
          #2014: 4151-5197
          LBOUND[hinctnta==9&cntry=="BE"&essround==7]=4151
          UBOUND[hinctnta==9&cntry=="BE"&essround==7]=5197
          #2016: 4529-5583
          LBOUND[hinctnta==9&cntry=="BE"&essround==8]=4529
          UBOUND[hinctnta==9&cntry=="BE"&essround==8]=5583
          #2018: 4851-5983
          LBOUND[hinctnta==9&cntry=="BE"&essround==9]=4851
          UBOUND[hinctnta==9&cntry=="BE"&essround==9]=5983
       #category 10:
          #2008: 2900-8700
          LBOUND[hinctnta==10&cntry=="BE"&essround==4]=2900
          UBOUND[hinctnta==10&cntry=="BE"&essround==4]=8700
          #2010: 4731-14193
          LBOUND[hinctnta==10&cntry=="BE"&essround==5]=4731
          UBOUND[hinctnta==10&cntry=="BE"&essround==5]=14193
          #2012: 5020-15060
          LBOUND[hinctnta==10&cntry=="BE"&essround==6]=5020
          UBOUND[hinctnta==10&cntry=="BE"&essround==6]=15060
          #2014: 5198-15594
          LBOUND[hinctnta==10&cntry=="BE"&essround==7]=5198
          UBOUND[hinctnta==10&cntry=="BE"&essround==7]=15594
          #2016: 5584-16752
          LBOUND[hinctnta==10&cntry=="BE"&essround==8]=5584
          UBOUND[hinctnta==10&cntry=="BE"&essround==8]=16752
          #2018: 5984-17952
          LBOUND[hinctnta==10&cntry=="BE"&essround==9]=5984
          UBOUND[hinctnta==10&cntry=="BE"&essround==9]=17952
    #BULGARIA
       #category 1:
          #2010: 0-201
          LBOUND[hinctnta==1&cntry=="BG"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="BG"&essround==5]=201
          #2012: 0-201
          LBOUND[hinctnta==1&cntry=="BG"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="BG"&essround==6]=201
          #2018: 0-179
          LBOUND[hinctnta==1&cntry=="BG"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="BG"&essround==9]=179
       #category 2:
          #2010: 202-227
          LBOUND[hinctnta==2&cntry=="BG"&essround==5]=202
          UBOUND[hinctnta==2&cntry=="BG"&essround==5]=227
          #2012: 202-227
          LBOUND[hinctnta==2&cntry=="BG"&essround==6]=202
          UBOUND[hinctnta==2&cntry=="BG"&essround==6]=227
          #2018: 180-281
          LBOUND[hinctnta==2&cntry=="BG"&essround==9]=180
          UBOUND[hinctnta==2&cntry=="BG"&essround==9]=281
       #category 3:
          #2010: 228-252
          LBOUND[hinctnta==3&cntry=="BG"&essround==5]=228
          UBOUND[hinctnta==3&cntry=="BG"&essround==5]=252
          #2012: 228-252
          LBOUND[hinctnta==3&cntry=="BG"&essround==6]=228
          UBOUND[hinctnta==3&cntry=="BG"&essround==6]=252
          #2018: 282-383
          LBOUND[hinctnta==3&cntry=="BG"&essround==9]=282
          UBOUND[hinctnta==3&cntry=="BG"&essround==9]=383
       #category 4:
          #2010: 253-277
          LBOUND[hinctnta==4&cntry=="BG"&essround==5]=253
          UBOUND[hinctnta==4&cntry=="BG"&essround==5]=277
          #2012: 253-277
          LBOUND[hinctnta==4&cntry=="BG"&essround==6]=253
          UBOUND[hinctnta==4&cntry=="BG"&essround==6]=277
          #2018: 384-486
          LBOUND[hinctnta==4&cntry=="BG"&essround==9]=384
          UBOUND[hinctnta==4&cntry=="BG"&essround==9]=486
       #category 5:
          #2010: 204-254
          LBOUND[hinctnta==5&cntry=="BG"&essround==5]=204
          UBOUND[hinctnta==5&cntry=="BG"&essround==5]=254
          #2012: 204-254
          LBOUND[hinctnta==5&cntry=="BG"&essround==6]=204
          UBOUND[hinctnta==5&cntry=="BG"&essround==6]=254
          #2018: 487-588
          LBOUND[hinctnta==5&cntry=="BG"&essround==9]=487
          UBOUND[hinctnta==5&cntry=="BG"&essround==9]=588
       #category 6:
          #2010: 328-352
          LBOUND[hinctnta==6&cntry=="BG"&essround==5]=328
          UBOUND[hinctnta==6&cntry=="BG"&essround==5]=352
          #2012: 328-352
          LBOUND[hinctnta==6&cntry=="BG"&essround==6]=328
          UBOUND[hinctnta==6&cntry=="BG"&essround==6]=352
          #2018: 589-716
          LBOUND[hinctnta==6&cntry=="BG"&essround==9]=589
          UBOUND[hinctnta==6&cntry=="BG"&essround==9]=716
       #category 7:
          #2010: 353-418
          LBOUND[hinctnta==7&cntry=="BG"&essround==5]=353
          UBOUND[hinctnta==7&cntry=="BG"&essround==5]=418
          #2012: 352-418
          LBOUND[hinctnta==7&cntry=="BG"&essround==6]=353
          UBOUND[hinctnta==7&cntry=="BG"&essround==6]=418
          #2018: 717-844
          LBOUND[hinctnta==7&cntry=="BG"&essround==9]=717
          UBOUND[hinctnta==7&cntry=="BG"&essround==9]=844
       #category 8:
          #2010: 419-504
          LBOUND[hinctnta==8&cntry=="BG"&essround==5]=419
          UBOUND[hinctnta==8&cntry=="BG"&essround==5]=504
          #2012: 419-504
          LBOUND[hinctnta==8&cntry=="BG"&essround==6]=419
          UBOUND[hinctnta==8&cntry=="BG"&essround==6]=504
          #2018: 845-1074
          LBOUND[hinctnta==8&cntry=="BG"&essround==9]=845
          UBOUND[hinctnta==8&cntry=="BG"&essround==9]=1074
       #category 9:
          #2010: 505-604
          LBOUND[hinctnta==9&cntry=="BG"&essround==5]=505
          UBOUND[hinctnta==9&cntry=="BG"&essround==5]=604
          #2012: 505-604
          LBOUND[hinctnta==9&cntry=="BG"&essround==6]=505
          UBOUND[hinctnta==9&cntry=="BG"&essround==6]=604
          #2018: 1075-1406
          LBOUND[hinctnta==9&cntry=="BG"&essround==9]=1075
          UBOUND[hinctnta==9&cntry=="BG"&essround==9]=1406
       #category 10:
          #2010: 605-1814
          LBOUND[hinctnta==10&cntry=="BG"&essround==5]=605
          UBOUND[hinctnta==10&cntry=="BG"&essround==5]=1814
          #2012: 605-1814
          LBOUND[hinctnta==10&cntry=="BG"&essround==6]=605
          UBOUND[hinctnta==10&cntry=="BG"&essround==6]=1814
          #2018: 1407-4221
          LBOUND[hinctnta==10&cntry=="BG"&essround==9]=1407
          UBOUND[hinctnta==10&cntry=="BG"&essround==9]=4221
    #CYPRUS
       #category 1:
          #2010: 0-900
          LBOUND[hinctnta==1&cntry=="CY"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="CY"&essround==5]=900
          #2012: 0-880
          LBOUND[hinctnta==1&cntry=="CY"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="CY"&essround==6]=880
          #2018: 0-750
          LBOUND[hinctnta==1&cntry=="CY"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="CY"&essround==9]=750
       #category 2:
          #2010: 901-1500
          LBOUND[hinctnta==2&cntry=="CY"&essround==5]=901
          UBOUND[hinctnta==2&cntry=="CY"&essround==5]=1500
          #2012: 881-1220
          LBOUND[hinctnta==2&cntry=="CY"&essround==6]=881
          UBOUND[hinctnta==2&cntry=="CY"&essround==6]=1220
          #2018: 751-1000
          LBOUND[hinctnta==2&cntry=="CY"&essround==9]=751
          UBOUND[hinctnta==2&cntry=="CY"&essround==9]=1000
       #category 3:
          #2010: 1501-1950
          LBOUND[hinctnta==3&cntry=="CY"&essround==5]=1501
          UBOUND[hinctnta==3&cntry=="CY"&essround==5]=1950
          #2012: 1211-1620
          LBOUND[hinctnta==3&cntry=="CY"&essround==6]=1211
          UBOUND[hinctnta==3&cntry=="CY"&essround==6]=1620
          #2018: 1001-1200
          LBOUND[hinctnta==3&cntry=="CY"&essround==9]=1001
          UBOUND[hinctnta==3&cntry=="CY"&essround==9]=1200
       #category 4:
          #2010: 1951-2200
          LBOUND[hinctnta==4&cntry=="CY"&essround==5]=1951
          UBOUND[hinctnta==4&cntry=="CY"&essround==5]=2200
          #2012: 1621-2090
          LBOUND[hinctnta==4&cntry=="CY"&essround==6]=1621
          UBOUND[hinctnta==4&cntry=="CY"&essround==6]=2090
          #2018: 1201-1500
          LBOUND[hinctnta==4&cntry=="CY"&essround==9]=1201
          UBOUND[hinctnta==4&cntry=="CY"&essround==9]=1500
       #category 5:
          #2010: 2201-2600
          LBOUND[hinctnta==5&cntry=="CY"&essround==5]=2201
          UBOUND[hinctnta==5&cntry=="CY"&essround==5]=2600
          #2012: 2091-2500
          LBOUND[hinctnta==5&cntry=="CY"&essround==6]=2091
          UBOUND[hinctnta==5&cntry=="CY"&essround==6]=2500
          #2018: 1501-1800
          LBOUND[hinctnta==5&cntry=="CY"&essround==9]=1501
          UBOUND[hinctnta==5&cntry=="CY"&essround==9]=1800
       #category 6:
          #2010: 2601-2900
          LBOUND[hinctnta==6&cntry=="CY"&essround==5]=2601
          UBOUND[hinctnta==6&cntry=="CY"&essround==5]=2900
          #2012: 2501-2960
          LBOUND[hinctnta==6&cntry=="CY"&essround==6]=2501
          UBOUND[hinctnta==6&cntry=="CY"&essround==6]=2960
          #2018: 1801-2200
          LBOUND[hinctnta==6&cntry=="CY"&essround==9]=1801
          UBOUND[hinctnta==6&cntry=="CY"&essround==9]=2200
       #category 7:
          #2010: 2901-3250
          LBOUND[hinctnta==7&cntry=="CY"&essround==5]=2901
          UBOUND[hinctnta==7&cntry=="CY"&essround==5]=3250
          #2012: 2961-3530
          LBOUND[hinctnta==7&cntry=="CY"&essround==6]=2961
          UBOUND[hinctnta==7&cntry=="CY"&essround==6]=3530
          #2018: 2201-2600
          LBOUND[hinctnta==7&cntry=="CY"&essround==9]=2201
          UBOUND[hinctnta==7&cntry=="CY"&essround==9]=2600
       #category 8:
          #2010: 3251-3600
          LBOUND[hinctnta==8&cntry=="CY"&essround==5]=3251
          UBOUND[hinctnta==8&cntry=="CY"&essround==5]=3600
          #2012: 3531-4240
          LBOUND[hinctnta==8&cntry=="CY"&essround==6]=3521
          UBOUND[hinctnta==8&cntry=="CY"&essround==6]=4240
          #2018: 2601-3200
          LBOUND[hinctnta==8&cntry=="CY"&essround==9]=2601
          UBOUND[hinctnta==8&cntry=="CY"&essround==9]=3200
       #category 9:
          #2010: 3601-3950
          LBOUND[hinctnta==9&cntry=="CY"&essround==5]=3601
          UBOUND[hinctnta==9&cntry=="CY"&essround==5]=3950
          #2012: 4241-5400
          LBOUND[hinctnta==9&cntry=="CY"&essround==6]=4241
          UBOUND[hinctnta==9&cntry=="CY"&essround==6]=5400
          #2018: 3201-4200
          LBOUND[hinctnta==9&cntry=="CY"&essround==9]=3201
          UBOUND[hinctnta==9&cntry=="CY"&essround==9]=4200
       #category 10:
          #2010: 3951-11853
          LBOUND[hinctnta==10&cntry=="CY"&essround==5]=3951
          UBOUND[hinctnta==10&cntry=="CY"&essround==5]=11853
          #2012: 5401-16203
          LBOUND[hinctnta==10&cntry=="CY"&essround==6]=5401
          UBOUND[hinctnta==10&cntry=="CY"&essround==6]=16203
          #2018: 4201-12603
          LBOUND[hinctnta==10&cntry=="CY"&essround==9]=4201
          UBOUND[hinctnta==10&cntry=="CY"&essround==9]=12603
    #CZECH REPUBLIC
       #category 1:
          #2008: 0-377
          LBOUND[hinctnta==1&cntry=="CZ"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="CZ"&essround==4]=377
          #2010: 0-401
          LBOUND[hinctnta==1&cntry=="CZ"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="CZ"&essround==5]=401
          #2012: 0-379
          LBOUND[hinctnta==1&cntry=="CZ"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="CZ"&essround==6]=379
          #2014: 0-415
          LBOUND[hinctnta==1&cntry=="CZ"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="CZ"&essround==7]=415
       #category 2:
          #2008: 378-754
          LBOUND[hinctnta==2&cntry=="CZ"&essround==4]=378
          UBOUND[hinctnta==2&cntry=="CZ"&essround==4]=754
          #2010: 402-523
          LBOUND[hinctnta==2&cntry=="CZ"&essround==5]=402
          UBOUND[hinctnta==2&cntry=="CZ"&essround==5]=523
          #2012: 380-494
          LBOUND[hinctnta==2&cntry=="CZ"&essround==6]=380
          UBOUND[hinctnta==2&cntry=="CZ"&essround==6]=494
          #2014: 416-531
          LBOUND[hinctnta==2&cntry=="CZ"&essround==7]=416
          UBOUND[hinctnta==2&cntry=="CZ"&essround==7]=531
       #category 3:
          #2008: 755-1131
          LBOUND[hinctnta==3&cntry=="CZ"&essround==4]=755
          UBOUND[hinctnta==3&cntry=="CZ"&essround==4]=1131
          #2010: 524-692
          LBOUND[hinctnta==3&cntry=="CZ"&essround==5]=524
          UBOUND[hinctnta==3&cntry=="CZ"&essround==5]=692
          #2012: 495-654
          LBOUND[hinctnta==3&cntry=="CZ"&essround==6]=495
          UBOUND[hinctnta==3&cntry=="CZ"&essround==6]=654
          #2014: 532-700
          LBOUND[hinctnta==3&cntry=="CZ"&essround==7]=532
          UBOUND[hinctnta==3&cntry=="CZ"&essround==7]=700
       #category 4:
          #2008: 1132-1508
          LBOUND[hinctnta==4&cntry=="CZ"&essround==4]=1132
          UBOUND[hinctnta==4&cntry=="CZ"&essround==4]=1508
          #2010: 693-804
          LBOUND[hinctnta==4&cntry=="CZ"&essround==5]=693
          UBOUND[hinctnta==4&cntry=="CZ"&essround==5]=804
          #2012: 655-760
          LBOUND[hinctnta==4&cntry=="CZ"&essround==6]=655
          UBOUND[hinctnta==4&cntry=="CZ"&essround==6]=760
          #2014: 701-809
          LBOUND[hinctnta==4&cntry=="CZ"&essround==7]=701
          UBOUND[hinctnta==4&cntry=="CZ"&essround==7]=809
       #category 5:
          #2008: 1509-1885
          LBOUND[hinctnta==5&cntry=="CZ"&essround==4]=1509
          UBOUND[hinctnta==5&cntry=="CZ"&essround==4]=1885
          #2010: 805-947
          LBOUND[hinctnta==5&cntry=="CZ"&essround==5]=805
          UBOUND[hinctnta==5&cntry=="CZ"&essround==5]=947
          #2012: 761-895
          LBOUND[hinctnta==5&cntry=="CZ"&essround==6]=761
          UBOUND[hinctnta==5&cntry=="CZ"&essround==6]=895
          #2014: 810-931
          LBOUND[hinctnta==5&cntry=="CZ"&essround==7]=810
          UBOUND[hinctnta==5&cntry=="CZ"&essround==7]=931
       #category 6:
          #2008: 1886-2262
          LBOUND[hinctnta==6&cntry=="CZ"&essround==4]=1886
          UBOUND[hinctnta==6&cntry=="CZ"&essround==4]=2262
          #2010: 948-1116
          LBOUND[hinctnta==6&cntry=="CZ"&essround==5]=948
          UBOUND[hinctnta==6&cntry=="CZ"&essround==5]=1116
          #2012: 896-1055
          LBOUND[hinctnta==6&cntry=="CZ"&essround==6]=896
          UBOUND[hinctnta==6&cntry=="CZ"&essround==6]=1055
          #2014: 932-1087
          LBOUND[hinctnta==6&cntry=="CZ"&essround==7]=932
          UBOUND[hinctnta==6&cntry=="CZ"&essround==7]=1087
       #category 7:
          #2008: 2263-2639
          LBOUND[hinctnta==7&cntry=="CZ"&essround==4]=2263
          UBOUND[hinctnta==7&cntry=="CZ"&essround==4]=2639
          #2010: 1117-1294
          LBOUND[hinctnta==7&cntry=="CZ"&essround==5]=1117
          UBOUND[hinctnta==7&cntry=="CZ"&essround==5]=1294
          #2012: 1056-1224
          LBOUND[hinctnta==7&cntry=="CZ"&essround==6]=1056
          UBOUND[hinctnta==7&cntry=="CZ"&essround==6]=1224
          #2014: 1088-1267
          LBOUND[hinctnta==7&cntry=="CZ"&essround==7]=1088
          UBOUND[hinctnta==7&cntry=="CZ"&essround==7]=1267
       #category 8:
          #2008: 2640-3016
          LBOUND[hinctnta==8&cntry=="CZ"&essround==4]=2640
          UBOUND[hinctnta==8&cntry=="CZ"&essround==4]=3016
          #2010: 1295-1515
          LBOUND[hinctnta==8&cntry=="CZ"&essround==5]=1295
          UBOUND[hinctnta==8&cntry=="CZ"&essround==5]=1515
          #2012: 1225-1433
          LBOUND[hinctnta==8&cntry=="CZ"&essround==6]=1225
          UBOUND[hinctnta==8&cntry=="CZ"&essround==6]=1433
          #2014: 1268-1502
          LBOUND[hinctnta==8&cntry=="CZ"&essround==7]=1268
          UBOUND[hinctnta==8&cntry=="CZ"&essround==7]=1502
       #category 9:
          #2008: 3017-3393
          LBOUND[hinctnta==9&cntry=="CZ"&essround==4]=3017
          UBOUND[hinctnta==9&cntry=="CZ"&essround==4]=3393
          #2010: 1516-1917
          LBOUND[hinctnta==9&cntry=="CZ"&essround==5]=1516
          UBOUND[hinctnta==9&cntry=="CZ"&essround==5]=1917
          #2012: 1434-1814
          LBOUND[hinctnta==9&cntry=="CZ"&essround==6]=1434
          UBOUND[hinctnta==9&cntry=="CZ"&essround==6]=1814
          #2014: 1503-1870
          LBOUND[hinctnta==9&cntry=="CZ"&essround==7]=1503
          UBOUND[hinctnta==9&cntry=="CZ"&essround==7]=1870
       #category 10:
          #2008: 3394-10182
          LBOUND[hinctnta==10&cntry=="CZ"&essround==4]=3394
          UBOUND[hinctnta==10&cntry=="CZ"&essround==4]=10182
          #2010: 1918-5755
          LBOUND[hinctnta==10&cntry=="CZ"&essround==5]=1918
          UBOUND[hinctnta==10&cntry=="CZ"&essround==5]=5755
          #2012: 1815-5445
          LBOUND[hinctnta==10&cntry=="CZ"&essround==6]=1815
          UBOUND[hinctnta==10&cntry=="CZ"&essround==6]=5445
          #2014: 1871-5613
          LBOUND[hinctnta==10&cntry=="CZ"&essround==7]=1871
          UBOUND[hinctnta==10&cntry=="CZ"&essround==7]=5613
    #DENMARK
        #category 1: 
          #2008: 0-1219
          LBOUND[hinctnta==1&cntry=="DK"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="DK"&essround==4]=1219  
          #2010: 0-1355
          LBOUND[hinctnta==1&cntry=="DK"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="DK"&essround==5]=1355  
          #2012: 0-1474
          LBOUND[hinctnta==1&cntry=="DK"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="DK"&essround==6]=1474  
          #2014: 0-1463
          LBOUND[hinctnta==1&cntry=="DK"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="DK"&essround==7]=1463
        #category 2: 
          #2008: 1220-1640
          LBOUND[hinctnta==2&cntry=="DK"&essround==4]=1220
          UBOUND[hinctnta==2&cntry=="DK"&essround==4]=1640
          #2010: 1356-1792
          LBOUND[hinctnta==2&cntry=="DK"&essround==5]=1356
          UBOUND[hinctnta==2&cntry=="DK"&essround==5]=1792
          #2012: 1475-1943
          LBOUND[hinctnta==2&cntry=="DK"&essround==6]=1475
          UBOUND[hinctnta==2&cntry=="DK"&essround==6]=1943  
          #2014: 1464-1928
          LBOUND[hinctnta==2&cntry=="DK"&essround==7]=1464
          UBOUND[hinctnta==2&cntry=="DK"&essround==7]=1928
        #category 3: 
          #2008: 1641-2061
          LBOUND[hinctnta==3&cntry=="DK"&essround==4]=1641
          UBOUND[hinctnta==3&cntry=="DK"&essround==4]=2061
          #2010: 1793-2229
          LBOUND[hinctnta==3&cntry=="DK"&essround==5]=1793
          UBOUND[hinctnta==3&cntry=="DK"&essround==5]=2229  
          #2012: 1944-2423
          LBOUND[hinctnta==3&cntry=="DK"&essround==6]=1944
          UBOUND[hinctnta==3&cntry=="DK"&essround==6]=2423  
          #2014: 1929-2405
          LBOUND[hinctnta==3&cntry=="DK"&essround==7]=1929
          UBOUND[hinctnta==3&cntry=="DK"&essround==7]=2405  
        #category 4: 
          #2008: 2062-2505
          LBOUND[hinctnta==4&cntry=="DK"&essround==4]=2062
          UBOUND[hinctnta==4&cntry=="DK"&essround==4]=2505
          #2010: 2230-2711
          LBOUND[hinctnta==4&cntry=="DK"&essround==5]=2230
          UBOUND[hinctnta==4&cntry=="DK"&essround==5]=2711  
          #2012: 2424-2948
          LBOUND[hinctnta==4&cntry=="DK"&essround==6]=2424
          UBOUND[hinctnta==4&cntry=="DK"&essround==6]=2948  
          #2014: 2406-2926
          LBOUND[hinctnta==4&cntry=="DK"&essround==7]=2406
          UBOUND[hinctnta==4&cntry=="DK"&essround==7]=2926
        #category 5: 
          #2008: 2506-3070
          LBOUND[hinctnta==5&cntry=="DK"&essround==4]=2506
          UBOUND[hinctnta==5&cntry=="DK"&essround==4]=3070  
          #2010: 2712-3338
          LBOUND[hinctnta==5&cntry=="DK"&essround==5]=2712
          UBOUND[hinctnta==5&cntry=="DK"&essround==5]=3338  
          #2012: 2949-3629
          LBOUND[hinctnta==5&cntry=="DK"&essround==6]=2949
          UBOUND[hinctnta==5&cntry=="DK"&essround==6]=3629  
          #2014: 2927-3613
          LBOUND[hinctnta==5&cntry=="DK"&essround==7]=2927
          UBOUND[hinctnta==5&cntry=="DK"&essround==7]=3613  
       #category 6: 
          #2008: 3071-3746
          LBOUND[hinctnta==6&cntry=="DK"&essround==4]=3071
          UBOUND[hinctnta==6&cntry=="DK"&essround==4]=3746
          #2010: 3339-4077
          LBOUND[hinctnta==6&cntry=="DK"&essround==5]=3339
          UBOUND[hinctnta==6&cntry=="DK"&essround==5]=4077
          #2012: 3630-4422
          LBOUND[hinctnta==6&cntry=="DK"&essround==6]=3630
          UBOUND[hinctnta==6&cntry=="DK"&essround==6]=4422
          #2014: 3914-4400
          LBOUND[hinctnta==6&cntry=="DK"&essround==7]=3914
          UBOUND[hinctnta==6&cntry=="DK"&essround==7]=4400
        #category 7: 
          #2008: 3747-4356
          LBOUND[hinctnta==7&cntry=="DK"&essround==4]=3747
          UBOUND[hinctnta==7&cntry=="DK"&essround==4]=4356
          #2010: 4078-4749
          LBOUND[hinctnta==7&cntry=="DK"&essround==5]=4078
          UBOUND[hinctnta==7&cntry=="DK"&essround==5]=4749
          #2012: 4423-5159
          LBOUND[hinctnta==7&cntry=="DK"&essround==6]=4423
          UBOUND[hinctnta==7&cntry=="DK"&essround==6]=5159
          #2014: 4401-5132
          LBOUND[hinctnta==7&cntry=="DK"&essround==7]=4401
          UBOUND[hinctnta==7&cntry=="DK"&essround==7]=5132
        #category 8: 
          #2008: 4357-4987
          LBOUND[hinctnta==8&cntry=="DK"&essround==4]=4357
          UBOUND[hinctnta==8&cntry=="DK"&essround==4]=4987
          #2010: 4750-5444
          LBOUND[hinctnta==8&cntry=="DK"&essround==5]=4750
          UBOUND[hinctnta==8&cntry=="DK"&essround==5]=5444
          #2012: 5160-5918
          LBOUND[hinctnta==8&cntry=="DK"&essround==6]=5160
          UBOUND[hinctnta==8&cntry=="DK"&essround==6]=5918
          #2014: 5133-5885
          LBOUND[hinctnta==8&cntry=="DK"&essround==7]=5133
          UBOUND[hinctnta==8&cntry=="DK"&essround==7]=5885
        #category 9: 
          #2008: 4988-5918
          LBOUND[hinctnta==9&cntry=="DK"&essround==4]=4988
          UBOUND[hinctnta==9&cntry=="DK"&essround==4]=5918
          #2010: 5445-6474
          LBOUND[hinctnta==9&cntry=="DK"&essround==5]=5445
          UBOUND[hinctnta==9&cntry=="DK"&essround==5]=6474
          #2012: 5919-7035
          LBOUND[hinctnta==9&cntry=="DK"&essround==6]=5919
          UBOUND[hinctnta==9&cntry=="DK"&essround==6]=7035
          #2014: 5886-6994
          LBOUND[hinctnta==9&cntry=="DK"&essround==7]=5886
          UBOUND[hinctnta==9&cntry=="DK"&essround==7]=6994
        #category 10: 
          #2008: 5919-17756
          LBOUND[hinctnta==10&cntry=="DK"&essround==4]=5919
          UBOUND[hinctnta==10&cntry=="DK"&essround==4]=17756
          #2010: 6475-19425
          LBOUND[hinctnta==10&cntry=="DK"&essround==5]=6475
          UBOUND[hinctnta==10&cntry=="DK"&essround==5]=19425  
          #2012: 7036-21108
          LBOUND[hinctnta==10&cntry=="DK"&essround==6]=7036
          UBOUND[hinctnta==10&cntry=="DK"&essround==6]=21108  
          #2014: 6995-20985
          LBOUND[hinctnta==10&cntry=="DK"&essround==7]=6995
          UBOUND[hinctnta==10&cntry=="DK"&essround==7]=20985
     #ESTONIA
        #category 1:
          #2008: 0-243
          LBOUND[hinctnta==1&cntry=="EE"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="EE"&essround==4]=243
          #2010: 0-246
          LBOUND[hinctnta==1&cntry=="EE"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="EE"&essround==5]=246 
          #2012: 0-270
          LBOUND[hinctnta==1&cntry=="EE"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="EE"&essround==6]=270
          #2016: 0-383
          LBOUND[hinctnta==1&cntry=="EE"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="EE"&essround==8]=383
          #2018: 0-400
          LBOUND[hinctnta==1&cntry=="EE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="EE"&essround==9]=400
        #category 2:
          #2008: 244-294
          LBOUND[hinctnta==2&cntry=="EE"&essround==4]=244
          UBOUND[hinctnta==2&cntry=="EE"&essround==4]=294
          #2010: 247-297
          LBOUND[hinctnta==2&cntry=="EE"&essround==5]=247
          UBOUND[hinctnta==2&cntry=="EE"&essround==5]=297
          #2012: 271-320
          LBOUND[hinctnta==2&cntry=="EE"&essround==6]=271
          UBOUND[hinctnta==2&cntry=="EE"&essround==6]=320
          #2016: 384-633
          LBOUND[hinctnta==2&cntry=="EE"&essround==8]=384
          UBOUND[hinctnta==2&cntry=="EE"&essround==8]=633
          #2018: 401-500
          LBOUND[hinctnta==2&cntry=="EE"&essround==9]=401
          UBOUND[hinctnta==2&cntry=="EE"&essround==9]=500
        #category 3:
          #2008: 295-415
          LBOUND[hinctnta==3&cntry=="EE"&essround==4]=295
          UBOUND[hinctnta==3&cntry=="EE"&essround==4]=415
          #2010: 298-420
          LBOUND[hinctnta==3&cntry=="EE"&essround==5]=298
          UBOUND[hinctnta==3&cntry=="EE"&essround==5]=420
          #2012: 321-410
          LBOUND[hinctnta==3&cntry=="EE"&essround==6]=321
          UBOUND[hinctnta==3&cntry=="EE"&essround==6]=410
          #2016: 634-808
          LBOUND[hinctnta==3&cntry=="EE"&essround==8]=634
          UBOUND[hinctnta==3&cntry=="EE"&essround==8]=808
          #2018: 501-750
          LBOUND[hinctnta==3&cntry=="EE"&essround==9]=501
          UBOUND[hinctnta==3&cntry=="EE"&essround==9]=750
        #category 4:
          #2008: 416-498
          LBOUND[hinctnta==4&cntry=="EE"&essround==4]=416
          UBOUND[hinctnta==4&cntry=="EE"&essround==4]=498
          #2010: 421-504
          LBOUND[hinctnta==4&cntry=="EE"&essround==5]=421
          UBOUND[hinctnta==4&cntry=="EE"&essround==5]=504
          #2012: 411-540
          LBOUND[hinctnta==4&cntry=="EE"&essround==6]=411
          UBOUND[hinctnta==4&cntry=="EE"&essround==6]=540
          #2016: 809-1042
          LBOUND[hinctnta==4&cntry=="EE"&essround==8]=809
          UBOUND[hinctnta==4&cntry=="EE"&essround==8]=1042
          #2018: 751-970
          LBOUND[hinctnta==4&cntry=="EE"&essround==9]=751
          UBOUND[hinctnta==4&cntry=="EE"&essround==9]=970
        #category 5:
          #2008: 499-613
          LBOUND[hinctnta==5&cntry=="EE"&essround==4]=499
          UBOUND[hinctnta==5&cntry=="EE"&essround==4]=613
          #2010: 505-621
          LBOUND[hinctnta==5&cntry=="EE"&essround==5]=505
          UBOUND[hinctnta==5&cntry=="EE"&essround==5]=621
          #2012: 541-640
          LBOUND[hinctnta==5&cntry=="EE"&essround==6]=541
          UBOUND[hinctnta==5&cntry=="EE"&essround==6]=640
          #2016: 1043-1250
          LBOUND[hinctnta==5&cntry=="EE"&essround==8]=1043
          UBOUND[hinctnta==5&cntry=="EE"&essround==8]=1250
          #2018: 971-1300
          LBOUND[hinctnta==5&cntry=="EE"&essround==9]=971
          UBOUND[hinctnta==5&cntry=="EE"&essround==9]=1300
        #category 6:
          #2008: 614-748
          LBOUND[hinctnta==6&cntry=="EE"&essround==4]=614
          UBOUND[hinctnta==6&cntry=="EE"&essround==4]=748
          #2010: 622-757
          LBOUND[hinctnta==6&cntry=="EE"&essround==5]=622
          UBOUND[hinctnta==6&cntry=="EE"&essround==5]=757
          #2012: 641-770
          LBOUND[hinctnta==6&cntry=="EE"&essround==6]=641
          UBOUND[hinctnta==6&cntry=="EE"&essround==6]=770
          #2016: 1251-1500
          LBOUND[hinctnta==6&cntry=="EE"&essround==8]=1251
          UBOUND[hinctnta==6&cntry=="EE"&essround==8]=1500
          #2018: 1301-1600
          LBOUND[hinctnta==6&cntry=="EE"&essround==9]=1301
          UBOUND[hinctnta==6&cntry=="EE"&essround==9]=1600
        #category 7:
          #2008: 749-901
          LBOUND[hinctnta==7&cntry=="EE"&essround==4]=749
          UBOUND[hinctnta==7&cntry=="EE"&essround==4]=901
          #2010: 758-912
          LBOUND[hinctnta==7&cntry=="EE"&essround==5]=758
          UBOUND[hinctnta==7&cntry=="EE"&essround==5]=912
          #2012: 771-980
          LBOUND[hinctnta==7&cntry=="EE"&essround==6]=771
          UBOUND[hinctnta==7&cntry=="EE"&essround==6]=980
          #2016: 1501-1833
          LBOUND[hinctnta==7&cntry=="EE"&essround==8]=1501
          UBOUND[hinctnta==7&cntry=="EE"&essround==8]=1833
          #2018: 1601-1800
          LBOUND[hinctnta==7&cntry=="EE"&essround==9]=1601
          UBOUND[hinctnta==7&cntry=="EE"&essround==9]=1800
       #category 8:
         #2008: 902-1150
          LBOUND[hinctnta==8&cntry=="EE"&essround==4]=902
          UBOUND[hinctnta==8&cntry=="EE"&essround==4]=1150
          #2010: 913-1164
          LBOUND[hinctnta==8&cntry=="EE"&essround==5]=913
          UBOUND[hinctnta==8&cntry=="EE"&essround==5]=1164
          #2012: 981-1170
          LBOUND[hinctnta==8&cntry=="EE"&essround==6]=981
          UBOUND[hinctnta==8&cntry=="EE"&essround==6]=1170
          #2016: 1834-2250
          LBOUND[hinctnta==8&cntry=="EE"&essround==8]=1834
          UBOUND[hinctnta==8&cntry=="EE"&essround==8]=2250
          #2018: 1801-2400
          LBOUND[hinctnta==8&cntry=="EE"&essround==9]=1801
          UBOUND[hinctnta==8&cntry=="EE"&essround==9]=2400
        #category 9:
          #2008: 1151-1546
          LBOUND[hinctnta==9&cntry=="EE"&essround==4]=1151
          UBOUND[hinctnta==9&cntry=="EE"&essround==4]=1546
          #2010: 1165-1565
          LBOUND[hinctnta==9&cntry=="EE"&essround==5]=1165
          UBOUND[hinctnta==9&cntry=="EE"&essround==5]=1565  
          #2012: 1171-1630
          LBOUND[hinctnta==9&cntry=="EE"&essround==6]=1171
          UBOUND[hinctnta==9&cntry=="EE"&essround==6]=1630
          #2016: 2251-3000
          LBOUND[hinctnta==9&cntry=="EE"&essround==8]=2251
          UBOUND[hinctnta==9&cntry=="EE"&essround==8]=3000
          #2018: 2401-3000
          LBOUND[hinctnta==9&cntry=="EE"&essround==9]=2401
          UBOUND[hinctnta==9&cntry=="EE"&essround==9]=3000
       #category 10:
          #2008: 1547-4642
          LBOUND[hinctnta==10&cntry=="EE"&essround==4]=1547
          UBOUND[hinctnta==10&cntry=="EE"&essround==4]=4642
          #2010: 1566-4698
          LBOUND[hinctnta==10&cntry=="EE"&essround==5]=1566
          UBOUND[hinctnta==10&cntry=="EE"&essround==5]=4698
          #2012: 1631-4893
          LBOUND[hinctnta==10&cntry=="EE"&essround==6]=1631
          UBOUND[hinctnta==10&cntry=="EE"&essround==6]=4893
          #2016: 3001-9003
          LBOUND[hinctnta==10&cntry=="EE"&essround==8]=3001
          UBOUND[hinctnta==10&cntry=="EE"&essround==8]=9003
          #2018: 3001-9003
          LBOUND[hinctnta==10&cntry=="EE"&essround==9]=3001
          UBOUND[hinctnta==10&cntry=="EE"&essround==9]=9003
      #FINLAND
        #category 1:
          #2008: 0-899
          LBOUND[hinctnta==1&cntry=="FI"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==4]=899
          #2010: 0-958
          LBOUND[hinctnta==1&cntry=="FI"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==5]=958 
          #2012: 0-1010
          LBOUND[hinctnta==1&cntry=="FI"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==6]=1010
          #2014: 0-1074
          LBOUND[hinctnta==1&cntry=="FI"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==7]=1074
          #2016: 0-1114
          LBOUND[hinctnta==1&cntry=="FI"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==8]=1114
          #2018: 0-1156
          LBOUND[hinctnta==1&cntry=="FI"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="FI"&essround==9]=1156
        #category 2:
          #2008: 900-1199
          LBOUND[hinctnta==2&cntry=="FI"&essround==4]=900
          UBOUND[hinctnta==2&cntry=="FI"&essround==4]=1199
          #2010: 959-1231
          LBOUND[hinctnta==2&cntry=="FI"&essround==5]=959
          UBOUND[hinctnta==2&cntry=="FI"&essround==5]=1231
          #2012: 1011-1292
          LBOUND[hinctnta==2&cntry=="FI"&essround==6]=1011
          UBOUND[hinctnta==2&cntry=="FI"&essround==6]=1292
          #2014: 1075-1366
          LBOUND[hinctnta==2&cntry=="FI"&essround==7]=1075
          UBOUND[hinctnta==2&cntry=="FI"&essround==7]=1366
          #2016: 1115-1376
          LBOUND[hinctnta==2&cntry=="FI"&essround==8]=1115
          UBOUND[hinctnta==2&cntry=="FI"&essround==8]=1376
          #2018: 1157-1448
          LBOUND[hinctnta==2&cntry=="FI"&essround==9]=1157
          UBOUND[hinctnta==2&cntry=="FI"&essround==9]=1448
        #category 3:
          #2008: 1200-1499
          LBOUND[hinctnta==3&cntry=="FI"&essround==4]=1200
          UBOUND[hinctnta==3&cntry=="FI"&essround==4]=1499
          #2010: 1232-1615
          LBOUND[hinctnta==3&cntry=="FI"&essround==5]=1232
          UBOUND[hinctnta==3&cntry=="FI"&essround==5]=1615
          #2012: 1293-1694
          LBOUND[hinctnta==3&cntry=="FI"&essround==6]=1293
          UBOUND[hinctnta==3&cntry=="FI"&essround==6]=1694
          #2014: 1367-1808
          LBOUND[hinctnta==3&cntry=="FI"&essround==7]=1367
          UBOUND[hinctnta==3&cntry=="FI"&essround==7]=1808
          #2016: 1377-1749
          LBOUND[hinctnta==3&cntry=="FI"&essround==8]=1377
          UBOUND[hinctnta==3&cntry=="FI"&essround==8]=1749
          #2018: 1449-1854
          LBOUND[hinctnta==3&cntry=="FI"&essround==9]=1449
          UBOUND[hinctnta==3&cntry=="FI"&essround==9]=1854
        #category 4:
          #2008: 1500-1799
          LBOUND[hinctnta==4&cntry=="FI"&essround==4]=1500
          UBOUND[hinctnta==4&cntry=="FI"&essround==4]=1799
          #2010: 1616-1970
          LBOUND[hinctnta==4&cntry=="FI"&essround==5]=1616
          UBOUND[hinctnta==4&cntry=="FI"&essround==5]=1970
          #2012: 1695-2070
          LBOUND[hinctnta==4&cntry=="FI"&essround==6]=1695
          UBOUND[hinctnta==4&cntry=="FI"&essround==6]=2070
          #2014: 1809-2215
          LBOUND[hinctnta==4&cntry=="FI"&essround==7]=1809
          UBOUND[hinctnta==4&cntry=="FI"&essround==7]=2215
          #2016: 1750-2165
          LBOUND[hinctnta==4&cntry=="FI"&essround==8]=1750
          UBOUND[hinctnta==4&cntry=="FI"&essround==8]=2165
          #2018: 1855-2267
          LBOUND[hinctnta==4&cntry=="FI"&essround==9]=1855
          UBOUND[hinctnta==4&cntry=="FI"&essround==9]=2267
        #category 5:
          #2008: 1800-2199
          LBOUND[hinctnta==5&cntry=="FI"&essround==4]=1800
          UBOUND[hinctnta==5&cntry=="FI"&essround==4]=2199
          #2010: 1971-2370
          LBOUND[hinctnta==5&cntry=="FI"&essround==5]=1971
          UBOUND[hinctnta==5&cntry=="FI"&essround==5]=2370  
          #2012: 2071-2479
          LBOUND[hinctnta==5&cntry=="FI"&essround==6]=2071
          UBOUND[hinctnta==5&cntry=="FI"&essround==6]=2479
          #2014: 2216-2627
          LBOUND[hinctnta==5&cntry=="FI"&essround==7]=2216
          UBOUND[hinctnta==5&cntry=="FI"&essround==7]=2627
          #2016: 2166-2646
          LBOUND[hinctnta==5&cntry=="FI"&essround==8]=2166
          UBOUND[hinctnta==5&cntry=="FI"&essround==8]=2646
          #2018: 2268-2716
          LBOUND[hinctnta==5&cntry=="FI"&essround==9]=2268
          UBOUND[hinctnta==5&cntry=="FI"&essround==9]=2716
        #category 6:
          #2008: 2200-2599
          LBOUND[hinctnta==6&cntry=="FI"&essround==4]=2200
          UBOUND[hinctnta==6&cntry=="FI"&essround==4]=2599
          #2010: 2371-2886
          LBOUND[hinctnta==6&cntry=="FI"&essround==5]=2317
          UBOUND[hinctnta==6&cntry=="FI"&essround==5]=2886
          #2012: 2480-2986
          LBOUND[hinctnta==6&cntry=="FI"&essround==6]=2480
          UBOUND[hinctnta==6&cntry=="FI"&essround==6]=2986
          #2014: 2628-3157
          LBOUND[hinctnta==6&cntry=="FI"&essround==7]=2628
          UBOUND[hinctnta==6&cntry=="FI"&essround==7]=3157
          #2016: 2647-3211
          LBOUND[hinctnta==6&cntry=="FI"&essround==8]=2647
          UBOUND[hinctnta==6&cntry=="FI"&essround==8]=3211
          #2018: 2717-3271
          LBOUND[hinctnta==6&cntry=="FI"&essround==9]=2717
          UBOUND[hinctnta==6&cntry=="FI"&essround==9]=3271
        #category 7:
          #2008: 2600-3099
          LBOUND[hinctnta==7&cntry=="FI"&essround==4]=2600
          UBOUND[hinctnta==7&cntry=="FI"&essround==4]=3099
          #2010: 2887-3484
          LBOUND[hinctnta==7&cntry=="FI"&essround==5]=2887
          UBOUND[hinctnta==7&cntry=="FI"&essround==5]=3484
          #2012: 2987-3617
          LBOUND[hinctnta==7&cntry=="FI"&essround==6]=2987
          UBOUND[hinctnta==7&cntry=="FI"&essround==6]=3617
          #2014: 3158-3824
          LBOUND[hinctnta==7&cntry=="FI"&essround==7]=3158
          UBOUND[hinctnta==7&cntry=="FI"&essround==7]=3824
          #2016: 3212-3840
          LBOUND[hinctnta==7&cntry=="FI"&essround==8]=3212
          UBOUND[hinctnta==7&cntry=="FI"&essround==8]=3840
          #2018: 3272-3926
          LBOUND[hinctnta==7&cntry=="FI"&essround==9]=3272
          UBOUND[hinctnta==7&cntry=="FI"&essround==9]=3926
        #category 8:
          #2008: 3100-3699
          LBOUND[hinctnta==8&cntry=="FI"&essround==4]=3100
          UBOUND[hinctnta==8&cntry=="FI"&essround==4]=3699
          #2010: 3485-4159
          LBOUND[hinctnta==8&cntry=="FI"&essround==5]=3485
          UBOUND[hinctnta==8&cntry=="FI"&essround==5]=4159
          #2012: 3618-4311
          LBOUND[hinctnta==8&cntry=="FI"&essround==6]=3618
          UBOUND[hinctnta==8&cntry=="FI"&essround==6]=4311
          #2014: 3825-4555
          LBOUND[hinctnta==8&cntry=="FI"&essround==7]=3825
          UBOUND[hinctnta==8&cntry=="FI"&essround==7]=4555
          #2016: 3841-4580
          LBOUND[hinctnta==8&cntry=="FI"&essround==8]=3841
          UBOUND[hinctnta==8&cntry=="FI"&essround==8]=4580
          #2018: 3927-4648
          LBOUND[hinctnta==8&cntry=="FI"&essround==9]=3927
          UBOUND[hinctnta==8&cntry=="FI"&essround==9]=4648
        #category 9:
          #2008: 3700-4599
          LBOUND[hinctnta==9&cntry=="FI"&essround==4]=3700
          UBOUND[hinctnta==9&cntry=="FI"&essround==4]=4599
          #2010: 4160-5142
          LBOUND[hinctnta==9&cntry=="FI"&essround==5]=4160
          UBOUND[hinctnta==9&cntry=="FI"&essround==5]=5142
          #2012: 4312-5361
          LBOUND[hinctnta==9&cntry=="FI"&essround==6]=4312
          UBOUND[hinctnta==9&cntry=="FI"&essround==6]=5361
          #2014: 4556-5673
          LBOUND[hinctnta==9&cntry=="FI"&essround==7]=4556
          UBOUND[hinctnta==9&cntry=="FI"&essround==7]=5673
          #2016: 4581-5709
          LBOUND[hinctnta==9&cntry=="FI"&essround==8]=4581
          UBOUND[hinctnta==9&cntry=="FI"&essround==8]=5709
          #2018: 4649-5814
          LBOUND[hinctnta==9&cntry=="FI"&essround==9]=4649
          UBOUND[hinctnta==9&cntry=="FI"&essround==9]=5814
        #category 10:
          #2008: 4600-13800
          LBOUND[hinctnta==10&cntry=="FI"&essround==4]=4600
          UBOUND[hinctnta==10&cntry=="FI"&essround==4]=13800
          #2010: 5143-15429
          LBOUND[hinctnta==10&cntry=="FI"&essround==5]=5143
          UBOUND[hinctnta==10&cntry=="FI"&essround==5]=15429
          #2012: 5362-16086
          LBOUND[hinctnta==10&cntry=="FI"&essround==6]=5362
          UBOUND[hinctnta==10&cntry=="FI"&essround==6]=16086
          #2014: 5674-17022
          LBOUND[hinctnta==10&cntry=="FI"&essround==7]=5674
          UBOUND[hinctnta==10&cntry=="FI"&essround==7]=17222
          #2016: 5710-17130
          LBOUND[hinctnta==10&cntry=="FI"&essround==8]=5710
          UBOUND[hinctnta==10&cntry=="FI"&essround==8]=17130
          #2018: 5815-17445
          LBOUND[hinctnta==10&cntry=="FI"&essround==9]=5815
          UBOUND[hinctnta==10&cntry=="FI"&essround==9]=17445
      #FRANCE
        #category 1:
          #2008: 0-950
          LBOUND[hinctnta==1&cntry=="FR"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==4]=950
          #2010: 0-1100
          LBOUND[hinctnta==1&cntry=="FR"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==5]=1100 
          #2012: 0-1100
          LBOUND[hinctnta==1&cntry=="FR"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==6]=1100
          #2014: 0-1100
          LBOUND[hinctnta==1&cntry=="FR"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==7]=1100
          #2016: 0-1129
          LBOUND[hinctnta==1&cntry=="FR"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==8]=1129
          #2018: 0-1108
          LBOUND[hinctnta==1&cntry=="FR"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="FR"&essround==9]=1108
        #category 2:
          #2008: 951-1200
          LBOUND[hinctnta==2&cntry=="FR"&essround==4]=951
          UBOUND[hinctnta==2&cntry=="FR"&essround==4]=1200
          #2010: 1101-1400
          LBOUND[hinctnta==2&cntry=="FR"&essround==5]=1101
          UBOUND[hinctnta==2&cntry=="FR"&essround==5]=1400
          #2012: 1101-1500
          LBOUND[hinctnta==2&cntry=="FR"&essround==6]=1101
          UBOUND[hinctnta==2&cntry=="FR"&essround==6]=1500
          #2014: 1101-1420
          LBOUND[hinctnta==2&cntry=="FR"&essround==7]=1101
          UBOUND[hinctnta==2&cntry=="FR"&essround==7]=1420
          #2016: 1130-1450
          LBOUND[hinctnta==2&cntry=="FR"&essround==8]=1130
          UBOUND[hinctnta==2&cntry=="FR"&essround==8]=1450
          #2018: 1109-1650
          LBOUND[hinctnta==2&cntry=="FR"&essround==9]=1109
          UBOUND[hinctnta==2&cntry=="FR"&essround==9]=1650
        #category 3:
          #2008: 1201-1500
          LBOUND[hinctnta==3&cntry=="FR"&essround==4]=1201
          UBOUND[hinctnta==3&cntry=="FR"&essround==4]=1500
          #2010: 1401-1750
          LBOUND[hinctnta==3&cntry=="FR"&essround==5]=1401
          UBOUND[hinctnta==3&cntry=="FR"&essround==5]=1750
          #2012: 1501-1800
          LBOUND[hinctnta==3&cntry=="FR"&essround==6]=1501
          UBOUND[hinctnta==3&cntry=="FR"&essround==6]=1800
          #2014: 1421-1715
          LBOUND[hinctnta==3&cntry=="FR"&essround==7]=1421
          UBOUND[hinctnta==3&cntry=="FR"&essround==7]=1715
          #2016: 1451-1758
          LBOUND[hinctnta==3&cntry=="FR"&essround==8]=1451
          UBOUND[hinctnta==3&cntry=="FR"&essround==8]=1758
          #2018: 1651-1917
          LBOUND[hinctnta==3&cntry=="FR"&essround==9]=1651
          UBOUND[hinctnta==3&cntry=="FR"&essround==9]=1917
        #category 4:
          #2008: 1501-1750
          LBOUND[hinctnta==4&cntry=="FR"&essround==4]=1501
          UBOUND[hinctnta==4&cntry=="FR"&essround==4]=1750
          #2010: 1751-2100
          LBOUND[hinctnta==4&cntry=="FR"&essround==5]=1751
          UBOUND[hinctnta==4&cntry=="FR"&essround==5]=2100
          #2012: 1801-2100
          LBOUND[hinctnta==4&cntry=="FR"&essround==6]=1801
          UBOUND[hinctnta==4&cntry=="FR"&essround==6]=2100
          #2014: 1716-2050
          LBOUND[hinctnta==4&cntry=="FR"&essround==7]=1716
          UBOUND[hinctnta==4&cntry=="FR"&essround==7]=2050
          #2016: 1759-2113
          LBOUND[hinctnta==4&cntry=="FR"&essround==8]=1759
          UBOUND[hinctnta==4&cntry=="FR"&essround==8]=2113
          #2018: 1918-2225
          LBOUND[hinctnta==4&cntry=="FR"&essround==9]=1918
          UBOUND[hinctnta==4&cntry=="FR"&essround==9]=2225
        #category 5:
          #2008: 1751-2000
          LBOUND[hinctnta==5&cntry=="FR"&essround==4]=1751
          UBOUND[hinctnta==5&cntry=="FR"&essround==4]=2000
          #2010: 2101-2500
          LBOUND[hinctnta==5&cntry=="FR"&essround==5]=2101
          UBOUND[hinctnta==5&cntry=="FR"&essround==5]=2500
          #2012: 2101-2500
          LBOUND[hinctnta==5&cntry=="FR"&essround==6]=2101
          UBOUND[hinctnta==5&cntry=="FR"&essround==6]=2500
          #2014: 2051-2450
          LBOUND[hinctnta==5&cntry=="FR"&essround==7]=2051
          UBOUND[hinctnta==5&cntry=="FR"&essround==7]=2450
          #2016: 2114-2504
          LBOUND[hinctnta==5&cntry=="FR"&essround==8]=2114
          UBOUND[hinctnta==5&cntry=="FR"&essround==8]=2504
          #2018: 2226-2550
          LBOUND[hinctnta==5&cntry=="FR"&essround==9]=2226
          UBOUND[hinctnta==5&cntry=="FR"&essround==9]=2550
        #category 6:
          #2008: 2001-2400
          LBOUND[hinctnta==6&cntry=="FR"&essround==4]=2001
          UBOUND[hinctnta==6&cntry=="FR"&essround==4]=2400
          #2010: 2501-2900
          LBOUND[hinctnta==6&cntry=="FR"&essround==5]=2501
          UBOUND[hinctnta==6&cntry=="FR"&essround==5]=2900
          #2012: 2501-2900
          LBOUND[hinctnta==6&cntry=="FR"&essround==6]=2501
          UBOUND[hinctnta==6&cntry=="FR"&essround==6]=2900
          #2014: 2451-2880
          LBOUND[hinctnta==6&cntry=="FR"&essround==7]=2451
          UBOUND[hinctnta==6&cntry=="FR"&essround==7]=2880
          #2016: 2505-2950
          LBOUND[hinctnta==6&cntry=="FR"&essround==8]=2505
          UBOUND[hinctnta==6&cntry=="FR"&essround==8]=2950
          #2018: 2551-2908
          LBOUND[hinctnta==6&cntry=="FR"&essround==9]=2551
          UBOUND[hinctnta==6&cntry=="FR"&essround==9]=2908
        #category 7:
          #2008: 2401-2800
          LBOUND[hinctnta==7&cntry=="FR"&essround==4]=2401
          UBOUND[hinctnta==7&cntry=="FR"&essround==4]=2800
          #2010: 2901-3300
          LBOUND[hinctnta==7&cntry=="FR"&essround==5]=2901
          UBOUND[hinctnta==7&cntry=="FR"&essround==5]=3300
          #2012: 3001-3500
          LBOUND[hinctnta==7&cntry=="FR"&essround==6]=3001
          UBOUND[hinctnta==7&cntry=="FR"&essround==6]=3500
          #2014: 2881-3400
          LBOUND[hinctnta==7&cntry=="FR"&essround==7]=2881
          UBOUND[hinctnta==7&cntry=="FR"&essround==7]=3400
          #2016: 2951-3492
          LBOUND[hinctnta==7&cntry=="FR"&essround==8]=2951
          UBOUND[hinctnta==7&cntry=="FR"&essround==8]=3492
          #2018: 2909-3267
          LBOUND[hinctnta==7&cntry=="FR"&essround==9]=2909
          UBOUND[hinctnta==7&cntry=="FR"&essround==9]=3267
        #category 8:
          #2008: 2801-3300
          LBOUND[hinctnta==8&cntry=="FR"&essround==4]=2804
          UBOUND[hinctnta==8&cntry=="FR"&essround==4]=3300
          #2010: 3301-4000
          LBOUND[hinctnta==8&cntry=="FR"&essround==5]=3301
          UBOUND[hinctnta==8&cntry=="FR"&essround==5]=4000  
          #2012: 3501-4100
          LBOUND[hinctnta==8&cntry=="FR"&essround==6]=3501
          UBOUND[hinctnta==8&cntry=="FR"&essround==6]=4100
          #2014: 3401-4100
          LBOUND[hinctnta==8&cntry=="FR"&essround==7]=3401
          UBOUND[hinctnta==8&cntry=="FR"&essround==7]=4100
          #2016: 3493-4200
          LBOUND[hinctnta==8&cntry=="FR"&essround==8]=3493
          UBOUND[hinctnta==8&cntry=="FR"&essround==8]=4200
          #2018: 3268-3733
          LBOUND[hinctnta==8&cntry=="FR"&essround==9]=3268
          UBOUND[hinctnta==8&cntry=="FR"&essround==9]=3733
        #category 9:
          #2008: 3301-4100
          LBOUND[hinctnta==9&cntry=="FR"&essround==4]=3301
          UBOUND[hinctnta==9&cntry=="FR"&essround==4]=4100
          #2010: 4001-5100
          LBOUND[hinctnta==9&cntry=="FR"&essround==5]=4001
          UBOUND[hinctnta==9&cntry=="FR"&essround==5]=5100
          #2012: 4101-5300
          LBOUND[hinctnta==9&cntry=="FR"&essround==6]=4101
          UBOUND[hinctnta==9&cntry=="FR"&essround==6]=5300
          #2014: 4101-5300
          LBOUND[hinctnta==9&cntry=="FR"&essround==7]=4101
          UBOUND[hinctnta==9&cntry=="FR"&essround==7]=5300
          #2016: 4201-5433
          LBOUND[hinctnta==9&cntry=="FR"&essround==8]=4201
          UBOUND[hinctnta==9&cntry=="FR"&essround==8]=5433
          #2018: 3734-4508
          LBOUND[hinctnta==9&cntry=="FR"&essround==9]=3734
          UBOUND[hinctnta==9&cntry=="FR"&essround==9]=4508
        #category 10:
          #2008: 4101-12303
          LBOUND[hinctnta==10&cntry=="FR"&essround==4]=4101
          UBOUND[hinctnta==10&cntry=="FR"&essround==4]=12303
          #2010: 5101-15303
          LBOUND[hinctnta==10&cntry=="FR"&essround==5]=5101
          UBOUND[hinctnta==10&cntry=="FR"&essround==5]=15303
          #2012: 5301-15903
          LBOUND[hinctnta==10&cntry=="FR"&essround==6]=5301
          UBOUND[hinctnta==10&cntry=="FR"&essround==6]=15903
          #2014: 5301-15903
          LBOUND[hinctnta==10&cntry=="FR"&essround==7]=5301
          UBOUND[hinctnta==10&cntry=="FR"&essround==7]=15903
          #2016: 5434-16302
          LBOUND[hinctnta==10&cntry=="FR"&essround==8]=5434
          UBOUND[hinctnta==10&cntry=="FR"&essround==8]=16302
          #2018: 4509-13527
          LBOUND[hinctnta==10&cntry=="FR"&essround==9]=4509
          UBOUND[hinctnta==10&cntry=="FR"&essround==9]=13527
      #GERMANY
        #category 1:
          #2008: 0-1100
          LBOUND[hinctnta==1&cntry=="DE"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==4]=1100
          #2010: 0-945
          LBOUND[hinctnta==1&cntry=="DE"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==5]=945 
          #2012: 0-980
          LBOUND[hinctnta==1&cntry=="DE"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==6]=980
          #2014: 0-1000
          LBOUND[hinctnta==1&cntry=="DE"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==7]=1000
          #2016: 0-1060
          LBOUND[hinctnta==1&cntry=="DE"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==8]=1060
          #2018: 0-1140
          LBOUND[hinctnta==1&cntry=="DE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="DE"&essround==9]=1140
        #category 2:
          #2008: 1101-1460
          LBOUND[hinctnta==2&cntry=="DE"&essround==4]=1101
          UBOUND[hinctnta==2&cntry=="DE"&essround==4]=1460
          #2010: 946-1290
          LBOUND[hinctnta==2&cntry=="DE"&essround==5]=946
          UBOUND[hinctnta==2&cntry=="DE"&essround==5]=1290
          #2012: 981-1350
          LBOUND[hinctnta==2&cntry=="DE"&essround==6]=981
          UBOUND[hinctnta==2&cntry=="DE"&essround==6]=1350
          #2014: 1001-1380
          LBOUND[hinctnta==2&cntry=="DE"&essround==7]=1001
          UBOUND[hinctnta==2&cntry=="DE"&essround==7]=1380
          #2016: 1061-1440
          LBOUND[hinctnta==2&cntry=="DE"&essround==8]=1061
          UBOUND[hinctnta==2&cntry=="DE"&essround==8]=1440
          #2018: 1141-1560
          LBOUND[hinctnta==2&cntry=="DE"&essround==9]=1141
          UBOUND[hinctnta==2&cntry=="DE"&essround==9]=1560
        #category 3:
          #2008: 1461-1840
          LBOUND[hinctnta==3&cntry=="DE"&essround==4]=1461
          UBOUND[hinctnta==3&cntry=="DE"&essround==4]=1840
          #2010: 1291-1580
          LBOUND[hinctnta==3&cntry=="DE"&essround==5]=1291
          UBOUND[hinctnta==3&cntry=="DE"&essround==5]=1580
          #2012: 1351-1660
          LBOUND[hinctnta==3&cntry=="DE"&essround==6]=1351
          UBOUND[hinctnta==3&cntry=="DE"&essround==6]=1660
          #2014: 1281-1700
          LBOUND[hinctnta==3&cntry=="DE"&essround==7]=1281
          UBOUND[hinctnta==3&cntry=="DE"&essround==7]=1700
          #2016: 1441-1790
          LBOUND[hinctnta==3&cntry=="DE"&essround==8]=1441
          UBOUND[hinctnta==3&cntry=="DE"&essround==8]=1790
          #2018: 1561-1950
          LBOUND[hinctnta==3&cntry=="DE"&essround==9]=1561
          UBOUND[hinctnta==3&cntry=="DE"&essround==9]=1950
        #category 4:
          #2008: 1841-2250
          LBOUND[hinctnta==4&cntry=="DE"&essround==4]=1841
          UBOUND[hinctnta==4&cntry=="DE"&essround==4]=2250
          #2010: 1581-1890
          LBOUND[hinctnta==4&cntry=="DE"&essround==5]=1581
          UBOUND[hinctnta==4&cntry=="DE"&essround==5]=1890
          #2012: 1661-1990
          LBOUND[hinctnta==4&cntry=="DE"&essround==6]=1661
          UBOUND[hinctnta==4&cntry=="DE"&essround==6]=1990
          #2014: 1701-2040
          LBOUND[hinctnta==4&cntry=="DE"&essround==7]=1701
          UBOUND[hinctnta==4&cntry=="DE"&essround==7]=2040
          #2016: 1791-2140
          LBOUND[hinctnta==4&cntry=="DE"&essround==8]=1791
          UBOUND[hinctnta==4&cntry=="DE"&essround==8]=2140
          #2018: 1951-2330
          LBOUND[hinctnta==4&cntry=="DE"&essround==9]=1951
          UBOUND[hinctnta==4&cntry=="DE"&essround==9]=2330
        #category 5:
          #2008: 2251-2710
          LBOUND[hinctnta==5&cntry=="DE"&essround==4]=2251
          UBOUND[hinctnta==5&cntry=="DE"&essround==4]=2710
          #2010: 1891-2210
          LBOUND[hinctnta==5&cntry=="DE"&essround==5]=1891
          UBOUND[hinctnta==5&cntry=="DE"&essround==5]=2210
          #2012: 1991-2340
          LBOUND[hinctnta==5&cntry=="DE"&essround==6]=1991
          UBOUND[hinctnta==5&cntry=="DE"&essround==6]=2340
          #2014: 2041-2400
          LBOUND[hinctnta==5&cntry=="DE"&essround==7]=2041
          UBOUND[hinctnta==5&cntry=="DE"&essround==7]=2400
          #2016: 2141-2520
          LBOUND[hinctnta==5&cntry=="DE"&essround==8]=2141
          UBOUND[hinctnta==5&cntry=="DE"&essround==8]=2520
          #2018: 2331-2740
          LBOUND[hinctnta==5&cntry=="DE"&essround==9]=2331
          UBOUND[hinctnta==5&cntry=="DE"&essround==9]=2740
        #category 6:
          #2008: 2711-3190
          LBOUND[hinctnta==6&cntry=="DE"&essround==4]=2711
          UBOUND[hinctnta==6&cntry=="DE"&essround==4]=3190
          #2010: 2211-2560
          LBOUND[hinctnta==6&cntry=="DE"&essround==5]=2211
          UBOUND[hinctnta==6&cntry=="DE"&essround==5]=2560
          #2012: 2341-2730
          LBOUND[hinctnta==6&cntry=="DE"&essround==6]=2341
          UBOUND[hinctnta==6&cntry=="DE"&essround==6]=2730
          #2014: 2401-2800
          LBOUND[hinctnta==6&cntry=="DE"&essround==7]=2401
          UBOUND[hinctnta==6&cntry=="DE"&essround==7]=2801
          #2016: 2521-2960
          LBOUND[hinctnta==6&cntry=="DE"&essround==8]=2521
          UBOUND[hinctnta==6&cntry=="DE"&essround==8]=2960
          #2018: 2741-3200
          LBOUND[hinctnta==6&cntry=="DE"&essround==9]=2741
          UBOUND[hinctnta==6&cntry=="DE"&essround==9]=3200
        #category 7:
          #2008: 3191-3770
          LBOUND[hinctnta==7&cntry=="DE"&essround==4]=3191
          UBOUND[hinctnta==7&cntry=="DE"&essround==4]=3770
          #2010: 2561-2980
          LBOUND[hinctnta==7&cntry=="DE"&essround==5]=2561
          UBOUND[hinctnta==7&cntry=="DE"&essround==5]=2980
          #2012: 2731-3200
          LBOUND[hinctnta==7&cntry=="DE"&essround==6]=2731
          UBOUND[hinctnta==7&cntry=="DE"&essround==6]=3200
          #2014: 2801-3280
          LBOUND[hinctnta==7&cntry=="DE"&essround==7]=2801
          UBOUND[hinctnta==7&cntry=="DE"&essround==7]=3280
          #2016: 2961-3470
          LBOUND[hinctnta==7&cntry=="DE"&essround==8]=2961
          UBOUND[hinctnta==7&cntry=="DE"&essround==8]=3470
          #2018: 3201-3750
          LBOUND[hinctnta==7&cntry=="DE"&essround==9]=3201
          UBOUND[hinctnta==7&cntry=="DE"&essround==9]=3750
        #category 8:
          #2008: 3771-4550
          LBOUND[hinctnta==8&cntry=="DE"&essround==4]=3771
          UBOUND[hinctnta==8&cntry=="DE"&essround==4]=4550
          #2010: 2981-3530
          LBOUND[hinctnta==8&cntry=="DE"&essround==5]=2981
          UBOUND[hinctnta==8&cntry=="DE"&essround==5]=3530
          #2012: 3201-3820
          LBOUND[hinctnta==8&cntry=="DE"&essround==6]=3201
          UBOUND[hinctnta==8&cntry=="DE"&essround==6]=3820
          #2014: 3281-3910
          LBOUND[hinctnta==8&cntry=="DE"&essround==7]=3281
          UBOUND[hinctnta==8&cntry=="DE"&essround==7]=3910
          #2016: 3471-4150
          LBOUND[hinctnta==8&cntry=="DE"&essround==8]=3471
          UBOUND[hinctnta==8&cntry=="DE"&essround==8]=4150
          #2018: 3751-4470
          LBOUND[hinctnta==8&cntry=="DE"&essround==9]=3751
          UBOUND[hinctnta==8&cntry=="DE"&essround==9]=4470
        #category 9:
          #2008: 4551-5870
          LBOUND[hinctnta==9&cntry=="DE"&essround==4]=4551
          UBOUND[hinctnta==9&cntry=="DE"&essround==4]=5870
          #2010: 3531-4480
          LBOUND[hinctnta==9&cntry=="DE"&essround==5]=3531
          UBOUND[hinctnta==9&cntry=="DE"&essround==5]=4480
          #2012: 3821-4840
          LBOUND[hinctnta==9&cntry=="DE"&essround==6]=3821
          UBOUND[hinctnta==9&cntry=="DE"&essround==6]=4840
          #2014: 3911-4960
          LBOUND[hinctnta==9&cntry=="DE"&essround==7]=3911
          UBOUND[hinctnta==9&cntry=="DE"&essround==7]=4960
          #2016: 4151-5250
          LBOUND[hinctnta==9&cntry=="DE"&essround==8]=4151
          UBOUND[hinctnta==9&cntry=="DE"&essround==8]=5250
          #2018: 4471-5670
          LBOUND[hinctnta==9&cntry=="DE"&essround==9]=4471
          UBOUND[hinctnta==9&cntry=="DE"&essround==9]=5670
        #category 10:
          #2008: 5871-17613
          LBOUND[hinctnta==10&cntry=="DE"&essround==4]=5871
          UBOUND[hinctnta==10&cntry=="DE"&essround==4]=17613
          #2010: 4481-13443
          LBOUND[hinctnta==10&cntry=="DE"&essround==5]=4481
          UBOUND[hinctnta==10&cntry=="DE"&essround==5]=13443
          #2012: 4841-14523
          LBOUND[hinctnta==10&cntry=="DE"&essround==6]=4841
          UBOUND[hinctnta==10&cntry=="DE"&essround==6]=14523
          #2014: 4961-14883
          LBOUND[hinctnta==10&cntry=="DE"&essround==7]=4961
          UBOUND[hinctnta==10&cntry=="DE"&essround==7]=14883
          #2016: 5251-15753
          LBOUND[hinctnta==10&cntry=="DE"&essround==8]=5251
          UBOUND[hinctnta==10&cntry=="DE"&essround==8]=15753
          #2018: 5671-17013
          LBOUND[hinctnta==10&cntry=="DE"&essround==9]=5671
          UBOUND[hinctnta==10&cntry=="DE"&essround==9]=17013
      #GREECE
        #category 1:
          #2008: 0-500
          LBOUND[hinctnta==1&cntry=="GR"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="GR"&essround==4]=500
          #2010: 0-575
          LBOUND[hinctnta==1&cntry=="GR"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="GR"&essround==5]=575
        #category 2:
          #2008: 501-700
          LBOUND[hinctnta==2&cntry=="GR"&essround==4]=501
          UBOUND[hinctnta==2&cntry=="GR"&essround==4]=700
          #2010: 576-775
          LBOUND[hinctnta==2&cntry=="GR"&essround==5]=576
          UBOUND[hinctnta==2&cntry=="GR"&essround==5]=775
        #category 3:
          #2008: 701-900
          LBOUND[hinctnta==3&cntry=="GR"&essround==4]=701
          UBOUND[hinctnta==3&cntry=="GR"&essround==4]=900
          #2010: 776-980
          LBOUND[hinctnta==3&cntry=="GR"&essround==5]=776
          UBOUND[hinctnta==3&cntry=="GR"&essround==5]=980
        #category 4:
          #2008: 901-1080
          LBOUND[hinctnta==4&cntry=="GR"&essround==4]=901
          UBOUND[hinctnta==4&cntry=="GR"&essround==4]=1080
          #2010: 981-1190
          LBOUND[hinctnta==4&cntry=="GR"&essround==5]=981
          UBOUND[hinctnta==4&cntry=="GR"&essround==5]=1190
        #category 5:
          #2008: 1081-1300
          LBOUND[hinctnta==5&cntry=="GR"&essround==4]=1081
          UBOUND[hinctnta==5&cntry=="GR"&essround==4]=1300
          #2010: 1191-1425
          LBOUND[hinctnta==5&cntry=="GR"&essround==5]=1191
          UBOUND[hinctnta==5&cntry=="GR"&essround==5]=1425
        #category 6:
          #2008: 1301-1560
          LBOUND[hinctnta==6&cntry=="GR"&essround==4]=1301
          UBOUND[hinctnta==6&cntry=="GR"&essround==4]=1560
          #2010: 1426-1700
          LBOUND[hinctnta==6&cntry=="GR"&essround==5]=1426
          UBOUND[hinctnta==6&cntry=="GR"&essround==5]=1700
        #category 7:
          #2008: 1561-1900
          LBOUND[hinctnta==7&cntry=="GR"&essround==4]=1561
          UBOUND[hinctnta==7&cntry=="GR"&essround==4]=1900
          #2010: 1701-2040
          LBOUND[hinctnta==7&cntry=="GR"&essround==5]=1701
          UBOUND[hinctnta==7&cntry=="GR"&essround==5]=2040
        #category 8:
          #2008: 1901-2300
          LBOUND[hinctnta==8&cntry=="GR"&essround==4]=1901
          UBOUND[hinctnta==8&cntry=="GR"&essround==4]=2300
          #2010: 2041-2500
          LBOUND[hinctnta==8&cntry=="GR"&essround==5]=2041
          UBOUND[hinctnta==8&cntry=="GR"&essround==5]=2500
        #category 9:
          #2008: 2301-3000
          LBOUND[hinctnta==9&cntry=="GR"&essround==4]=2301
          UBOUND[hinctnta==9&cntry=="GR"&essround==4]=3000
          #2010: 2501-3230
          LBOUND[hinctnta==9&cntry=="GR"&essround==5]=2501
          UBOUND[hinctnta==9&cntry=="GR"&essround==5]=3230
        #category 10:
          #2008: 3001-9003
          LBOUND[hinctnta==10&cntry=="GR"&essround==4]=3001
          UBOUND[hinctnta==10&cntry=="GR"&essround==4]=9003
          #2010: 3231-9693
          LBOUND[hinctnta==10&cntry=="GR"&essround==5]=3231
          UBOUND[hinctnta==10&cntry=="GR"&essround==5]=9693
      #cROATIA
        #category 1:
          #2008: 0-275
          LBOUND[hinctnta==1&cntry=="HR"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="HR"&essround==4]=275
          #2010: 0-182
          LBOUND[hinctnta==1&cntry=="HR"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="HR"&essround==5]=182
          #2018: 0-457
          LBOUND[hinctnta==1&cntry=="HR"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="HR"&essround==9]=457
        #category 2:
          #2008: 276-361
          LBOUND[hinctnta==2&cntry=="HR"&essround==4]=276
          UBOUND[hinctnta==2&cntry=="HR"&essround==4]=361
          #2010: 183-323
          LBOUND[hinctnta==2&cntry=="HR"&essround==5]=183
          UBOUND[hinctnta==2&cntry=="HR"&essround==5]=323
          #2018: 458-632
          LBOUND[hinctnta==2&cntry=="HR"&essround==9]=458
          UBOUND[hinctnta==2&cntry=="HR"&essround==9]=632
        #category 3:
          #2008: 362-487
          LBOUND[hinctnta==3&cntry=="HR"&essround==4]=362
          UBOUND[hinctnta==3&cntry=="HR"&essround==4]=487
          #2010: 324-450
          LBOUND[hinctnta==3&cntry=="HR"&essround==5]=324
          UBOUND[hinctnta==3&cntry=="HR"&essround==5]=450
          #2018: 633-780
          LBOUND[hinctnta==3&cntry=="HR"&essround==9]=633
          UBOUND[hinctnta==3&cntry=="HR"&essround==9]=780
        #category 4:
          #2008: 488-626
          LBOUND[hinctnta==4&cntry=="HR"&essround==4]=488
          UBOUND[hinctnta==4&cntry=="HR"&essround==4]=626
          #2010: 451-587
          LBOUND[hinctnta==4&cntry=="HR"&essround==5]=451
          UBOUND[hinctnta==4&cntry=="HR"&essround==5]=587
          #2018: 781-927
          LBOUND[hinctnta==4&cntry=="HR"&essround==9]=781
          UBOUND[hinctnta==4&cntry=="HR"&essround==9]=927
        #category 5:
          #2008: 627-765
          LBOUND[hinctnta==5&cntry=="HR"&essround==4]=627
          UBOUND[hinctnta==5&cntry=="HR"&essround==4]=765
          #2010: 588-738
          LBOUND[hinctnta==5&cntry=="HR"&essround==5]=588
          UBOUND[hinctnta==5&cntry=="HR"&essround==5]=738
          #2018: 928-1048
          LBOUND[hinctnta==5&cntry=="HR"&essround==9]=928
          UBOUND[hinctnta==5&cntry=="HR"&essround==9]=1048
        #category 6:
          #2008: 766-931
          LBOUND[hinctnta==6&cntry=="HR"&essround==4]=766
          UBOUND[hinctnta==6&cntry=="HR"&essround==4]=931
          #2010: 739-895
          LBOUND[hinctnta==6&cntry=="HR"&essround==5]=739
          UBOUND[hinctnta==6&cntry=="HR"&essround==5]=895
          #2018: 1049-1196
          LBOUND[hinctnta==6&cntry=="HR"&essround==9]=1049
          UBOUND[hinctnta==6&cntry=="HR"&essround==9]=1196
        #category 7:
          #2008: 932-1140
          LBOUND[hinctnta==7&cntry=="HR"&essround==4]=932
          UBOUND[hinctnta==7&cntry=="HR"&essround==4]=1140
          #2010: 896-1079
          LBOUND[hinctnta==7&cntry=="HR"&essround==5]=896
          UBOUND[hinctnta==7&cntry=="HR"&essround==5]=1079
          #2018: 1197-1371
          LBOUND[hinctnta==7&cntry=="HR"&essround==9]=1197
          UBOUND[hinctnta==7&cntry=="HR"&essround==9]=1371
        #category 8:
          #2008: 1141-1348
          LBOUND[hinctnta==8&cntry=="HR"&essround==4]=1141
          UBOUND[hinctnta==8&cntry=="HR"&essround==4]=1348
          #2010: 1080-1315
          LBOUND[hinctnta==8&cntry=="HR"&essround==5]=1080
          UBOUND[hinctnta==8&cntry=="HR"&essround==5]=1315
          #2018: 1372-1599
          LBOUND[hinctnta==8&cntry=="HR"&essround==9]=1372
          UBOUND[hinctnta==8&cntry=="HR"&essround==9]=1599
        #category 9:
          #2008: 1349-1682
          LBOUND[hinctnta==9&cntry=="HR"&essround==4]=1349
          UBOUND[hinctnta==9&cntry=="HR"&essround==4]=1682
          #2010: 1316-1607
          LBOUND[hinctnta==9&cntry=="HR"&essround==5]=1316
          UBOUND[hinctnta==9&cntry=="HR"&essround==5]=1607
          #2018: 1600-1949
          LBOUND[hinctnta==9&cntry=="HR"&essround==9]=1600
          UBOUND[hinctnta==9&cntry=="HR"&essround==9]=1949
        #category 10:
          #2008: 1683-5049
          LBOUND[hinctnta==10&cntry=="HR"&essround==4]=1683
          UBOUND[hinctnta==10&cntry=="HR"&essround==4]=5049
          #2010: 1608-4824
          LBOUND[hinctnta==10&cntry=="HR"&essround==5]=1608
          UBOUND[hinctnta==10&cntry=="HR"&essround==5]=4824
          #2018: 1950-5850
          LBOUND[hinctnta==10&cntry=="HR"&essround==9]=1950
          UBOUND[hinctnta==10&cntry=="HR"&essround==9]=5850
      #HUNGARY
        #category 1:
          #2008: 0-185
          LBOUND[hinctnta==1&cntry=="HU"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==4]=185
          #2010: 0-272
          LBOUND[hinctnta==1&cntry=="HU"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==5]=272
          #2012: 0-248
          LBOUND[hinctnta==1&cntry=="HU"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==6]=248
          #2014: 0-230
          LBOUND[hinctnta==1&cntry=="HU"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==7]=230
          #2016: 0-400
          LBOUND[hinctnta==1&cntry=="HU"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==8]=400
          #2018: 0-403
          LBOUND[hinctnta==1&cntry=="HU"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="HU"&essround==9]=403
        #category 2:
          #2008: 186-248
          LBOUND[hinctnta==2&cntry=="HU"&essround==4]=186
          UBOUND[hinctnta==2&cntry=="HU"&essround==4]=248
          #2010: 273-362
          LBOUND[hinctnta==2&cntry=="HU"&essround==5]=273
          UBOUND[hinctnta==2&cntry=="HU"&essround==5]=362
          #2012: 249-311
          LBOUND[hinctnta==2&cntry=="HU"&essround==6]=249
          UBOUND[hinctnta==2&cntry=="HU"&essround==6]=311
          #2014: 231-288
          LBOUND[hinctnta==2&cntry=="HU"&essround==7]=231
          UBOUND[hinctnta==2&cntry=="HU"&essround==7]=288
          #2016: 401-499
          LBOUND[hinctnta==2&cntry=="HU"&essround==8]=401
          UBOUND[hinctnta==2&cntry=="HU"&essround==8]=499
          #2018: 404-524
          LBOUND[hinctnta==2&cntry=="HU"&essround==9]=404
          UBOUND[hinctnta==2&cntry=="HU"&essround==9]=524
        #category 3:
          #2008: 249-330
          LBOUND[hinctnta==3&cntry=="HU"&essround==4]=249
          UBOUND[hinctnta==3&cntry=="HU"&essround==4]=330
          #2010: 363-453
          LBOUND[hinctnta==3&cntry=="HU"&essround==5]=363
          UBOUND[hinctnta==3&cntry=="HU"&essround==5]=453
          #2012: 312-380
          LBOUND[hinctnta==3&cntry=="HU"&essround==6]=312
          UBOUND[hinctnta==3&cntry=="HU"&essround==6]=380
          #2014: 289-352
          LBOUND[hinctnta==3&cntry=="HU"&essround==7]=289
          UBOUND[hinctnta==3&cntry=="HU"&essround==7]=352
          #2016: 500-576
          LBOUND[hinctnta==3&cntry=="HU"&essround==8]=500
          UBOUND[hinctnta==3&cntry=="HU"&essround==8]=576
          #2018: 525-617
          LBOUND[hinctnta==3&cntry=="HU"&essround==9]=525
          UBOUND[hinctnta==3&cntry=="HU"&essround==9]=617
        #category 4:
          #2008: 331-413
          LBOUND[hinctnta==4&cntry=="HU"&essround==4]=331
          UBOUND[hinctnta==4&cntry=="HU"&essround==4]=413
          #2010: 454-543
          LBOUND[hinctnta==4&cntry=="HU"&essround==5]=454
          UBOUND[hinctnta==4&cntry=="HU"&essround==5]=543
          #2012: 381-466
          LBOUND[hinctnta==4&cntry=="HU"&essround==6]=381
          UBOUND[hinctnta==4&cntry=="HU"&essround==6]=466
          #2014: 353-432
          LBOUND[hinctnta==4&cntry=="HU"&essround==7]=353
          UBOUND[hinctnta==4&cntry=="HU"&essround==7]=432
          #2016: 577-672
          LBOUND[hinctnta==4&cntry=="HU"&essround==8]=577
          UBOUND[hinctnta==4&cntry=="HU"&essround==8]=672
          #2018: 618-710
          LBOUND[hinctnta==4&cntry=="HU"&essround==9]=618
          UBOUND[hinctnta==4&cntry=="HU"&essround==9]=710
        #category 5:
          #2008: 414-495
          LBOUND[hinctnta==5&cntry=="HU"&essround==4]=414
          UBOUND[hinctnta==5&cntry=="HU"&essround==4]=495
          #2010: 544-634
          LBOUND[hinctnta==5&cntry=="HU"&essround==5]=544
          UBOUND[hinctnta==5&cntry=="HU"&essround==5]=634
          #2012: 467-552
          LBOUND[hinctnta==5&cntry=="HU"&essround==6]=467
          UBOUND[hinctnta==5&cntry=="HU"&essround==6]=552
          #2014: 433-512
          LBOUND[hinctnta==5&cntry=="HU"&essround==7]=433
          UBOUND[hinctnta==5&cntry=="HU"&essround==7]=512
          #2016: 673-768
          LBOUND[hinctnta==5&cntry=="HU"&essround==8]=673
          UBOUND[hinctnta==5&cntry=="HU"&essround==8]=768
          #2018: 711-803
          LBOUND[hinctnta==5&cntry=="HU"&essround==9]=711
          UBOUND[hinctnta==5&cntry=="HU"&essround==9]=803
        #category 6:
          #2008: 496-578
          LBOUND[hinctnta==6&cntry=="HU"&essround==4]=496
          UBOUND[hinctnta==6&cntry=="HU"&essround==4]=578
          #2010: 635-724
          LBOUND[hinctnta==6&cntry=="HU"&essround==5]=635
          UBOUND[hinctnta==6&cntry=="HU"&essround==5]=724
          #2012: 553-604
          LBOUND[hinctnta==6&cntry=="HU"&essround==6]=553
          UBOUND[hinctnta==6&cntry=="HU"&essround==6]=604
          #2014: 513-560
          LBOUND[hinctnta==6&cntry=="HU"&essround==7]=513
          UBOUND[hinctnta==6&cntry=="HU"&essround==7]=560
          #2016: 769-816
          LBOUND[hinctnta==6&cntry=="HU"&essround==8]=769
          UBOUND[hinctnta==6&cntry=="HU"&essround==8]=816
          #2018: 804-896
          LBOUND[hinctnta==6&cntry=="HU"&essround==9]=804
          UBOUND[hinctnta==6&cntry=="HU"&essround==9]=896
        #category 7:
          #2008: 579-660
          LBOUND[hinctnta==7&cntry=="HU"&essround==4]=579
          UBOUND[hinctnta==7&cntry=="HU"&essround==4]=660
          #2010: 725-815
          LBOUND[hinctnta==7&cntry=="HU"&essround==5]=725
          UBOUND[hinctnta==7&cntry=="HU"&essround==5]=815
          #2012: 605-690
          LBOUND[hinctnta==7&cntry=="HU"&essround==6]=605
          UBOUND[hinctnta==7&cntry=="HU"&essround==6]=690
          #2014: 561-640
          LBOUND[hinctnta==7&cntry=="HU"&essround==7]=561
          UBOUND[hinctnta==7&cntry=="HU"&essround==7]=640
          #2016: 817-960
          LBOUND[hinctnta==7&cntry=="HU"&essround==8]=817
          UBOUND[hinctnta==7&cntry=="HU"&essround==8]=960
          #2018: 897-989
          LBOUND[hinctnta==7&cntry=="HU"&essround==9]=897
          UBOUND[hinctnta==7&cntry=="HU"&essround==9]=989
        #category 8:
          #2008: 661-743
          LBOUND[hinctnta==8&cntry=="HU"&essround==4]=661
          UBOUND[hinctnta==8&cntry=="HU"&essround==4]=743
          #2010: 816-905
          LBOUND[hinctnta==8&cntry=="HU"&essround==5]=816
          UBOUND[hinctnta==8&cntry=="HU"&essround==5]=905
          #2012: 691-863
          LBOUND[hinctnta==8&cntry=="HU"&essround==6]=691
          UBOUND[hinctnta==8&cntry=="HU"&essround==6]=863
          #2014: 941-800
          LBOUND[hinctnta==8&cntry=="HU"&essround==7]=800
          UBOUND[hinctnta==8&cntry=="HU"&essround==7]=941
          #2016: 961-1216
          LBOUND[hinctnta==8&cntry=="HU"&essround==8]=961
          UBOUND[hinctnta==8&cntry=="HU"&essround==8]=1216
          #2018: 990-1113
          LBOUND[hinctnta==8&cntry=="HU"&essround==9]=990
          UBOUND[hinctnta==8&cntry=="HU"&essround==9]=1113
        #category 9:
          #2008: 744-990
          LBOUND[hinctnta==9&cntry=="HU"&essround==4]=744
          UBOUND[hinctnta==9&cntry=="HU"&essround==4]=900
          #2010: 906-1087
          LBOUND[hinctnta==9&cntry=="HU"&essround==5]=906
          UBOUND[hinctnta==9&cntry=="HU"&essround==5]=1087
          #2012: 864-966
          LBOUND[hinctnta==9&cntry=="HU"&essround==6]=864
          UBOUND[hinctnta==9&cntry=="HU"&essround==6]=966
          #2014: 801-896
          LBOUND[hinctnta==9&cntry=="HU"&essround==7]=801
          UBOUND[hinctnta==9&cntry=="HU"&essround==7]=896
          #2016: 1217-1280
          LBOUND[hinctnta==9&cntry=="HU"&essround==8]=1217
          UBOUND[hinctnta==9&cntry=="HU"&essround==8]=1280
          #2018: 1114-1268
          LBOUND[hinctnta==9&cntry=="HU"&essround==9]=1114
          UBOUND[hinctnta==9&cntry=="HU"&essround==9]=1268
        #category 10:
          #2008: 991-2973
          LBOUND[hinctnta==10&cntry=="HU"&essround==4]=991
          UBOUND[hinctnta==10&cntry=="HU"&essround==4]=2973
          #2010: 1088-3263
          LBOUND[hinctnta==10&cntry=="HU"&essround==5]=1088
          UBOUND[hinctnta==10&cntry=="HU"&essround==5]=3263
          #2012: 967-2901
          LBOUND[hinctnta==10&cntry=="HU"&essround==6]=967
          UBOUND[hinctnta==10&cntry=="HU"&essround==6]=2901
          #2014: 897-2691
          LBOUND[hinctnta==10&cntry=="HU"&essround==7]=897
          UBOUND[hinctnta==10&cntry=="HU"&essround==7]=2691
          #2016: 1281-3843
          LBOUND[hinctnta==10&cntry=="HU"&essround==8]=1281
          UBOUND[hinctnta==10&cntry=="HU"&essround==8]=3843
          #2018: 1269-3807
          LBOUND[hinctnta==10&cntry=="HU"&essround==9]=1269
          UBOUND[hinctnta==10&cntry=="HU"&essround==9]=3807
      #IRELAND
        #category 1:
          #2008: 0-1088
          LBOUND[hinctnta==1&cntry=="IE"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==4]=1088
          #2010: 0-1088
          LBOUND[hinctnta==1&cntry=="IE"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==5]=1088
          #2012: 0-1048
          LBOUND[hinctnta==1&cntry=="IE"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==6]=1048
          #2014: 0-983
          LBOUND[hinctnta==1&cntry=="IE"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==7]=983
          #2016: 0-979
          LBOUND[hinctnta==1&cntry=="IE"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==8]=979
          #2018: 0-1079
          LBOUND[hinctnta==1&cntry=="IE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="IE"&essround==9]=1079
        #category 2:
          #2008: 1089-1599
          LBOUND[hinctnta==2&cntry=="IE"&essround==4]=1089
          UBOUND[hinctnta==2&cntry=="IE"&essround==4]=1599
          #2010: 1089-1599
          LBOUND[hinctnta==2&cntry=="IE"&essround==5]=1089
          UBOUND[hinctnta==2&cntry=="IE"&essround==5]=1599
          #2012: 1049-1376
          LBOUND[hinctnta==2&cntry=="IE"&essround==6]=1049
          UBOUND[hinctnta==2&cntry=="IE"&essround==6]=1376
          #2014: 984-1360
          LBOUND[hinctnta==2&cntry=="IE"&essround==7]=984
          UBOUND[hinctnta==2&cntry=="IE"&essround==7]=1360
          #2016: 980-1440
          LBOUND[hinctnta==2&cntry=="IE"&essround==8]=980
          UBOUND[hinctnta==2&cntry=="IE"&essround==8]=1440
          #2018: 1080-1540
          LBOUND[hinctnta==2&cntry=="IE"&essround==9]=1080
          UBOUND[hinctnta==2&cntry=="IE"&essround==9]=1540
        #category 3:
          #2008: 1600-1967
          LBOUND[hinctnta==3&cntry=="IE"&essround==4]=1600
          UBOUND[hinctnta==3&cntry=="IE"&essround==4]=1967
          #2010: 1600-1967
          LBOUND[hinctnta==3&cntry=="IE"&essround==5]=1600
          UBOUND[hinctnta==3&cntry=="IE"&essround==5]=1967
          #2012: 1377-1892
          LBOUND[hinctnta==3&cntry=="IE"&essround==6]=1377
          UBOUND[hinctnta==3&cntry=="IE"&essround==6]=1892
          #2014: 1361-1812
          LBOUND[hinctnta==3&cntry=="IE"&essround==7]=1361
          UBOUND[hinctnta==3&cntry=="IE"&essround==7]=1812
          #2016: 1441-1920
          LBOUND[hinctnta==3&cntry=="IE"&essround==8]=1441
          UBOUND[hinctnta==3&cntry=="IE"&essround==8]=1920
          #2018: 1541-2040
          LBOUND[hinctnta==3&cntry=="IE"&essround==9]=1541
          UBOUND[hinctnta==3&cntry=="IE"&essround==9]=2040
        #category 4:
          #2008: 1968-2519
          LBOUND[hinctnta==4&cntry=="IE"&essround==4]=1968
          UBOUND[hinctnta==4&cntry=="IE"&essround==4]=2519
          #2010: 1968-2519
          LBOUND[hinctnta==4&cntry=="IE"&essround==5]=1968
          UBOUND[hinctnta==4&cntry=="IE"&essround==5]=2519
          #2012: 1893-2312
          LBOUND[hinctnta==4&cntry=="IE"&essround==6]=1893
          UBOUND[hinctnta==4&cntry=="IE"&essround==6]=2312
          #2014: 1813-2216
          LBOUND[hinctnta==4&cntry=="IE"&essround==7]=1813
          UBOUND[hinctnta==4&cntry=="IE"&essround==7]=2216
          #2016: 1921-2360
          LBOUND[hinctnta==4&cntry=="IE"&essround==8]=1921
          UBOUND[hinctnta==4&cntry=="IE"&essround==8]=2360
          #2018: 2041-2540
          LBOUND[hinctnta==4&cntry=="IE"&essround==9]=2041
          UBOUND[hinctnta==4&cntry=="IE"&essround==9]=2540
         #category 5:
          #2008: 2520-2935
          LBOUND[hinctnta==5&cntry=="IE"&essround==4]=2520
          UBOUND[hinctnta==5&cntry=="IE"&essround==4]=2935
          #2010: 2520-2935
          LBOUND[hinctnta==5&cntry=="IE"&essround==5]=2520
          UBOUND[hinctnta==5&cntry=="IE"&essround==5]=2935
          #2012: 2313-2748
          LBOUND[hinctnta==5&cntry=="IE"&essround==6]=2313
          UBOUND[hinctnta==5&cntry=="IE"&essround==6]=2748
          #2014: 2217-2576
          LBOUND[hinctnta==5&cntry=="IE"&essround==7]=2217
          UBOUND[hinctnta==5&cntry=="IE"&essround==7]=2576
          #2016: 2361-2800
          LBOUND[hinctnta==5&cntry=="IE"&essround==8]=2361
          UBOUND[hinctnta==5&cntry=="IE"&essround==8]=2800
          #2018: 2541-3140
          LBOUND[hinctnta==5&cntry=="IE"&essround==9]=2541
          UBOUND[hinctnta==5&cntry=="IE"&essround==9]=3140
        #category 6:
          #2008: 2936-3511
          LBOUND[hinctnta==6&cntry=="IE"&essround==4]=2936
          UBOUND[hinctnta==6&cntry=="IE"&essround==4]=3511
          #2010: 2936-3511
          LBOUND[hinctnta==6&cntry=="IE"&essround==5]=2936
          UBOUND[hinctnta==6&cntry=="IE"&essround==5]=3511
          #2012: 2749-3260
          LBOUND[hinctnta==6&cntry=="IE"&essround==6]=2749
          UBOUND[hinctnta==6&cntry=="IE"&essround==6]=3260
          #2014: 2577-3100
          LBOUND[hinctnta==6&cntry=="IE"&essround==7]=2577
          UBOUND[hinctnta==6&cntry=="IE"&essround==7]=3100
          #2016: 2801-3280
          LBOUND[hinctnta==6&cntry=="IE"&essround==8]=2801
          UBOUND[hinctnta==6&cntry=="IE"&essround==8]=3280
          #2018: 3141-3720
          LBOUND[hinctnta==6&cntry=="IE"&essround==9]=3141
          UBOUND[hinctnta==6&cntry=="IE"&essround==9]=3720
        #category 7:
          #2008: 3512-4219
          LBOUND[hinctnta==7&cntry=="IE"&essround==4]=3512
          UBOUND[hinctnta==7&cntry=="IE"&essround==4]=4219
          #2010: 3512-4219
          LBOUND[hinctnta==7&cntry=="IE"&essround==5]=3512
          UBOUND[hinctnta==7&cntry=="IE"&essround==5]=4219
          #2012: 3261-3988
          LBOUND[hinctnta==7&cntry=="IE"&essround==6]=3261
          UBOUND[hinctnta==7&cntry=="IE"&essround==6]=3988
          #2014: 3101-3704
          LBOUND[hinctnta==7&cntry=="IE"&essround==7]=3101
          UBOUND[hinctnta==7&cntry=="IE"&essround==7]=3704
          #2016: 3102-3820
          LBOUND[hinctnta==7&cntry=="IE"&essround==8]=3102
          UBOUND[hinctnta==7&cntry=="IE"&essround==8]=3820
          #2018: 3721-4460
          LBOUND[hinctnta==7&cntry=="IE"&essround==9]=3721
          UBOUND[hinctnta==7&cntry=="IE"&essround==9]=4460
        #category 8:
          #2008: 4220-4995
          LBOUND[hinctnta==8&cntry=="IE"&essround==4]=4220
          UBOUND[hinctnta==8&cntry=="IE"&essround==4]=4995
          #2010: 4200-4995
          LBOUND[hinctnta==8&cntry=="IE"&essround==5]=4200
          UBOUND[hinctnta==8&cntry=="IE"&essround==5]=4995
          #2012: 3989-4832
          LBOUND[hinctnta==8&cntry=="IE"&essround==6]=3989
          UBOUND[hinctnta==8&cntry=="IE"&essround==6]=4832
          #2014: 3705-4516
          LBOUND[hinctnta==8&cntry=="IE"&essround==7]=3705
          UBOUND[hinctnta==8&cntry=="IE"&essround==7]=4516
          #2016: 4517-4720
          LBOUND[hinctnta==8&cntry=="IE"&essround==8]=4517
          UBOUND[hinctnta==8&cntry=="IE"&essround==8]=4720
          #2018: 4461-5360
          LBOUND[hinctnta==8&cntry=="IE"&essround==9]=4461
          UBOUND[hinctnta==8&cntry=="IE"&essround==9]=5360
        #category 9:
          #2008: 4996-6579
          LBOUND[hinctnta==9&cntry=="IE"&essround==4]=4996
          UBOUND[hinctnta==9&cntry=="IE"&essround==4]=6579
          #2010: 4996-6579
          LBOUND[hinctnta==9&cntry=="IE"&essround==5]=4996
          UBOUND[hinctnta==9&cntry=="IE"&essround==5]=6579
          #2012: 4833-6452
          LBOUND[hinctnta==9&cntry=="IE"&essround==6]=4833
          UBOUND[hinctnta==9&cntry=="IE"&essround==6]=6452
          #2014: 4517-5776
          LBOUND[hinctnta==9&cntry=="IE"&essround==7]=4517
          UBOUND[hinctnta==9&cntry=="IE"&essround==7]=5776
          #2016: 4721-6480
          LBOUND[hinctnta==9&cntry=="IE"&essround==8]=4721
          UBOUND[hinctnta==9&cntry=="IE"&essround==8]=6480
          #2018: 5361-6720
          LBOUND[hinctnta==9&cntry=="IE"&essround==9]=5361
          UBOUND[hinctnta==9&cntry=="IE"&essround==9]=6720
        #category 10:
          #2008: 6580-19740
          LBOUND[hinctnta==10&cntry=="IE"&essround==4]=6580
          UBOUND[hinctnta==10&cntry=="IE"&essround==4]=19740
          #2010: 6580-19740
          LBOUND[hinctnta==10&cntry=="IE"&essround==5]=6580
          UBOUND[hinctnta==10&cntry=="IE"&essround==5]=19740
          #2012: 6453-19359
          LBOUND[hinctnta==10&cntry=="IE"&essround==6]=6453
          UBOUND[hinctnta==10&cntry=="IE"&essround==6]=19359
          #2014: 5777-17331
          LBOUND[hinctnta==10&cntry=="IE"&essround==7]=5777
          UBOUND[hinctnta==10&cntry=="IE"&essround==7]=17331
          #2016: 6481-19443
          LBOUND[hinctnta==10&cntry=="IE"&essround==8]=6481
          UBOUND[hinctnta==10&cntry=="IE"&essround==8]=19443
          #2018: 6721-20163
          LBOUND[hinctnta==10&cntry=="IE"&essround==9]=6721
          UBOUND[hinctnta==10&cntry=="IE"&essround==9]=20163
      #ISRAEL
        #category 1:
          #2008: 0-510
          LBOUND[hinctnta==1&cntry=="IL"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="IL"&essround==4]=510
          #2010: 0-566
          LBOUND[hinctnta==1&cntry=="IL"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="IL"&essround==5]=566
          #2012: 0-621
          LBOUND[hinctnta==1&cntry=="IL"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="IL"&essround==6]=621
          #2014: 0-1271
          LBOUND[hinctnta==1&cntry=="IL"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="IL"&essround==7]=1271
          #2016: 0-1375
          LBOUND[hinctnta==1&cntry=="IL"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="IL"&essround==8]=1375
        #category 2:
          #2008: 511-764
          LBOUND[hinctnta==2&cntry=="IL"&essround==4]=511
          UBOUND[hinctnta==2&cntry=="IL"&essround==4]=764
          #2010: 567-848
          LBOUND[hinctnta==2&cntry=="IL"&essround==5]=567
          UBOUND[hinctnta==2&cntry=="IL"&essround==5]=848
          #2012: 621-941
          LBOUND[hinctnta==2&cntry=="IL"&essround==6]=621
          UBOUND[hinctnta==2&cntry=="IL"&essround==6]=941
          #2014: 1272-1882
          LBOUND[hinctnta==2&cntry=="IL"&essround==7]=1272
          UBOUND[hinctnta==2&cntry=="IL"&essround==7]=1882
          #2016: 1376-2000
          LBOUND[hinctnta==2&cntry=="IL"&essround==8]=1376
          UBOUND[hinctnta==2&cntry=="IL"&essround==8]=2000
        #category 3:
          #2008: 766-1019
          LBOUND[hinctnta==3&cntry=="IL"&essround==4]=766
          UBOUND[hinctnta==3&cntry=="IL"&essround==4]=1019
          #2010: 849-1151
          LBOUND[hinctnta==3&cntry=="IL"&essround==5]=849
          UBOUND[hinctnta==3&cntry=="IL"&essround==5]=1151
          #2012: 941-1261
          LBOUND[hinctnta==3&cntry=="IL"&essround==6]=941
          UBOUND[hinctnta==3&cntry=="IL"&essround==6]=1261
          #2014: 1883-2424
          LBOUND[hinctnta==3&cntry=="IL"&essround==7]=1883
          UBOUND[hinctnta==3&cntry=="IL"&essround==7]=2424
          #2016: 2001-2575
          LBOUND[hinctnta==3&cntry=="IL"&essround==8]=2001
          UBOUND[hinctnta==3&cntry=="IL"&essround==8]=2575
        #category 4:
          #2008: 1020-1294 
          LBOUND[hinctnta==4&cntry=="IL"&essround==4]=1020
          UBOUND[hinctnta==4&cntry=="IL"&essround==4]=1294
          #2010: 1152-1455
          LBOUND[hinctnta==4&cntry=="IL"&essround==5]=1152
          UBOUND[hinctnta==4&cntry=="IL"&essround==5]=1455
          #2012: 1262-1602
          LBOUND[hinctnta==4&cntry=="IL"&essround==6]=1262
          UBOUND[hinctnta==4&cntry=="IL"&essround==6]=1602
          #2014: 2425-3012
          LBOUND[hinctnta==4&cntry=="IL"&essround==7]=2425
          UBOUND[hinctnta==4&cntry=="IL"&essround==7]=3012
          #2016: 2576-3200
          LBOUND[hinctnta==4&cntry=="IL"&essround==8]=2576
          UBOUND[hinctnta==4&cntry=="IL"&essround==8]=3200
        #category 5:
          #2008: 1295-1607
          LBOUND[hinctnta==5&cntry=="IL"&essround==4]=1295
          UBOUND[hinctnta==5&cntry=="IL"&essround==4]=1607
          #2010: 1456-1818
          LBOUND[hinctnta==5&cntry=="IL"&essround==5]=1456
          UBOUND[hinctnta==5&cntry=="IL"&essround==5]=1818
          #2012: 1602-2002
          LBOUND[hinctnta==5&cntry=="IL"&essround==6]=1602
          UBOUND[hinctnta==5&cntry=="IL"&essround==6]=2002
          #2014: 3013-3647
          LBOUND[hinctnta==5&cntry=="IL"&essround==7]=3013
          UBOUND[hinctnta==5&cntry=="IL"&essround==7]=3647
          #2016: 3201-3875
          LBOUND[hinctnta==5&cntry=="IL"&essround==8]=3201
          UBOUND[hinctnta==5&cntry=="IL"&essround==8]=3875
        #category 6:
          #2008: 1608-1960
          LBOUND[hinctnta==6&cntry=="IL"&essround==4]=1608
          UBOUND[hinctnta==6&cntry=="IL"&essround==4]=1960
          #2010: 1819-2222
          LBOUND[hinctnta==6&cntry=="IL"&essround==5]=1819
          UBOUND[hinctnta==6&cntry=="IL"&essround==5]=2222
          #2012: 2002-2403
          LBOUND[hinctnta==6&cntry=="IL"&essround==6]=2002
          UBOUND[hinctnta==6&cntry=="IL"&essround==6]=2403
          #2014: 3648-4424
          LBOUND[hinctnta==6&cntry=="IL"&essround==7]=3648
          UBOUND[hinctnta==6&cntry=="IL"&essround==7]=4424
          #2016: 3876-4700
          LBOUND[hinctnta==6&cntry=="IL"&essround==8]=3876
          UBOUND[hinctnta==6&cntry=="IL"&essround==8]=4700
        #category 7:
          #2008: 1961-2352
          LBOUND[hinctnta==7&cntry=="IL"&essround==4]=1961
          UBOUND[hinctnta==7&cntry=="IL"&essround==4]=2352
          #2010: 2223-2626
          LBOUND[hinctnta==7&cntry=="IL"&essround==5]=2223
          UBOUND[hinctnta==7&cntry=="IL"&essround==5]=2626
          #2012: 2403-2923
          LBOUND[hinctnta==7&cntry=="IL"&essround==6]=2403
          UBOUND[hinctnta==7&cntry=="IL"&essround==6]=2923
          #2014: 4425-5365
          LBOUND[hinctnta==7&cntry=="IL"&essround==7]=4425
          UBOUND[hinctnta==7&cntry=="IL"&essround==7]=5365
          #2016: 4701-5725
          LBOUND[hinctnta==7&cntry=="IL"&essround==8]=4701
          UBOUND[hinctnta==7&cntry=="IL"&essround==8]=5725
        #category 8:
          #2008: 2353-2920
          LBOUND[hinctnta==8&cntry=="IL"&essround==4]=2353
          UBOUND[hinctnta==8&cntry=="IL"&essround==4]=2920
          #2010: 2627-3232
          LBOUND[hinctnta==8&cntry=="IL"&essround==5]=2627
          UBOUND[hinctnta==8&cntry=="IL"&essround==5]=3232
          #2012: 2923-3604
          LBOUND[hinctnta==8&cntry=="IL"&essround==6]=2923
          UBOUND[hinctnta==8&cntry=="IL"&essround==6]=3604
          #2014: 5366-6729
          LBOUND[hinctnta==8&cntry=="IL"&essround==7]=5366
          UBOUND[hinctnta==8&cntry=="IL"&essround==7]=6729
          #2016: 5726-7150
          LBOUND[hinctnta==8&cntry=="IL"&essround==8]=5726
          UBOUND[hinctnta==8&cntry=="IL"&essround==8]=7150
        #category 9:
          #2008: 2921-3842
          LBOUND[hinctnta==9&cntry=="IL"&essround==4]=2921
          UBOUND[hinctnta==9&cntry=="IL"&essround==4]=3842
          #2010: 3233-4343
          LBOUND[hinctnta==9&cntry=="IL"&essround==5]=3233
          UBOUND[hinctnta==9&cntry=="IL"&essround==5]=4343
          #2012: 3604-4705
          LBOUND[hinctnta==9&cntry=="IL"&essround==6]=3604
          UBOUND[hinctnta==9&cntry=="IL"&essround==6]=4705
          #2014: 6730-9176
          LBOUND[hinctnta==9&cntry=="IL"&essround==7]=6730
          UBOUND[hinctnta==9&cntry=="IL"&essround==7]=9176
          #2016: 7151-9750
          LBOUND[hinctnta==9&cntry=="IL"&essround==8]=7151
          UBOUND[hinctnta==9&cntry=="IL"&essround==8]=9750
        #category 10:
          #2008: 3843-11528
          LBOUND[hinctnta==10&cntry=="IL"&essround==4]=3843
          UBOUND[hinctnta==10&cntry=="IL"&essround==4]=11528
          #2010: 4344-13031
          LBOUND[hinctnta==10&cntry=="IL"&essround==5]=4344
          UBOUND[hinctnta==10&cntry=="IL"&essround==5]=13031
          #2012: 4705-14116
          LBOUND[hinctnta==10&cntry=="IL"&essround==6]=4705
          UBOUND[hinctnta==10&cntry=="IL"&essround==6]=14116
          #2014: 9177-27530
          LBOUND[hinctnta==10&cntry=="IL"&essround==7]=9177
          UBOUND[hinctnta==10&cntry=="IL"&essround==7]=27530
          #2016: 9751-29253
          LBOUND[hinctnta==10&cntry=="IL"&essround==8]=9751
          UBOUND[hinctnta==10&cntry=="IL"&essround==8]=29253
      #ICELAND
        #category 1:
          #2012: 0-2113
          LBOUND[hinctnta==1&cntry=="IS"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="IS"&essround==6]=2113
          #2016: 0-1949
          LBOUND[hinctnta==1&cntry=="IS"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="IS"&essround==8]=1949
        #category 2:
          #2012: 2114-2535
          LBOUND[hinctnta==2&cntry=="IS"&essround==6]=2114
          UBOUND[hinctnta==2&cntry=="IS"&essround==6]=2535
          #2016: 1950-2511
          LBOUND[hinctnta==2&cntry=="IS"&essround==8]=1950
          UBOUND[hinctnta==2&cntry=="IS"&essround==8]=2511
        #category 3:
          #2012: 2536-2860
          LBOUND[hinctnta==3&cntry=="IS"&essround==6]=2536
          UBOUND[hinctnta==3&cntry=="IS"&essround==6]=2860
          #2016: 2512-3248
          LBOUND[hinctnta==3&cntry=="IS"&essround==8]=2512
          UBOUND[hinctnta==3&cntry=="IS"&essround==8]=3248
        #category 4:
          #2012: 2861-3120
          LBOUND[hinctnta==4&cntry=="IS"&essround==6]=2861
          UBOUND[hinctnta==4&cntry=="IS"&essround==6]=3120
          #2016: 3249-4027
          LBOUND[hinctnta==4&cntry=="IS"&essround==8]=3249
          UBOUND[hinctnta==4&cntry=="IS"&essround==8]=4027
        #category 5:
          #2012: 3121-3413
          LBOUND[hinctnta==5&cntry=="IS"&essround==6]=3121
          UBOUND[hinctnta==5&cntry=="IS"&essround==6]=3413
          #2016: 4028-4893
          LBOUND[hinctnta==5&cntry=="IS"&essround==8]=4028
          UBOUND[hinctnta==5&cntry=="IS"&essround==8]=4893
        #category 6:
          #2012: 3414-3770
          LBOUND[hinctnta==6&cntry=="IS"&essround==6]=3414
          UBOUND[hinctnta==6&cntry=="IS"&essround==6]=3770
          #2016: 4894-5759
          LBOUND[hinctnta==6&cntry=="IS"&essround==8]=4894
          UBOUND[hinctnta==6&cntry=="IS"&essround==8]=5759
        #category 7:
          #2012: 3771-4160
          LBOUND[hinctnta==7&cntry=="IS"&essround==6]=3771
          UBOUND[hinctnta==7&cntry=="IS"&essround==6]=4160
          #2016: 5760-6755
          LBOUND[hinctnta==7&cntry=="IS"&essround==8]=5760
          UBOUND[hinctnta==7&cntry=="IS"&essround==8]=6755
        #category 8:
          #2012: 4161-4615
          LBOUND[hinctnta==8&cntry=="IS"&essround==6]=4161
          UBOUND[hinctnta==8&cntry=="IS"&essround==6]=4615
          #2016: 6756-7837
          LBOUND[hinctnta==8&cntry=="IS"&essround==8]=6756
          UBOUND[hinctnta==8&cntry=="IS"&essround==8]=7837
        #category 9:
          #2012: 4616-5460
          LBOUND[hinctnta==9&cntry=="IS"&essround==6]=4616
          UBOUND[hinctnta==9&cntry=="IS"&essround==6]=5460
          #2016: 7838-9526
          LBOUND[hinctnta==9&cntry=="IS"&essround==8]=7838
          UBOUND[hinctnta==9&cntry=="IS"&essround==8]=9526
        #category 10:
          #2012: 5461-16383
          LBOUND[hinctnta==10&cntry=="IS"&essround==6]=5461
          UBOUND[hinctnta==10&cntry=="IS"&essround==6]=16383
          #2016: 9527-28581
          LBOUND[hinctnta==10&cntry=="IS"&essround==8]=9527
          UBOUND[hinctnta==10&cntry=="IS"&essround==8]=28581
      #ITALY
        #category 1:
          #2012: 0-976
          LBOUND[hinctnta==1&cntry=="IT"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="IT"&essround==6]=976
          #2016: 0-750
          LBOUND[hinctnta==1&cntry=="IT"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="IT"&essround==8]=750
          #2018: 0-749
          LBOUND[hinctnta==1&cntry=="IT"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="IT"&essround==9]=749
        #category 2:
          #2012: 976-1303
          LBOUND[hinctnta==2&cntry=="IT"&essround==6]=976
          UBOUND[hinctnta==2&cntry=="IT"&essround==6]=1303
          #2016: 751-1125
          LBOUND[hinctnta==2&cntry=="IT"&essround==8]=751
          UBOUND[hinctnta==2&cntry=="IT"&essround==8]=1125
          #2018: 750-1167
          LBOUND[hinctnta==2&cntry=="IT"&essround==9]=750
          UBOUND[hinctnta==2&cntry=="IT"&essround==9]=1167
        #category 3:
          #2012: 1304-1600
          LBOUND[hinctnta==3&cntry=="IT"&essround==6]=1304
          UBOUND[hinctnta==3&cntry=="IT"&essround==6]=1600
          #2016: 1126-1417
          LBOUND[hinctnta==3&cntry=="IT"&essround==8]=1126
          UBOUND[hinctnta==3&cntry=="IT"&essround==8]=1417
          #2018: 1168-1458
          LBOUND[hinctnta==3&cntry=="IT"&essround==9]=1168
          UBOUND[hinctnta==3&cntry=="IT"&essround==9]=1458
        #category 4:
          #2012: 1601-1920
          LBOUND[hinctnta==4&cntry=="IT"&essround==6]=1601
          UBOUND[hinctnta==4&cntry=="IT"&essround==6]=1920
          #2016: 1418-1708
          LBOUND[hinctnta==4&cntry=="IT"&essround==8]=1418
          UBOUND[hinctnta==4&cntry=="IT"&essround==8]=1708
          #2018: 1459-1750
          LBOUND[hinctnta==4&cntry=="IT"&essround==9]=1459
          UBOUND[hinctnta==4&cntry=="IT"&essround==9]=1750
        #category 5:
          #2012: 1921-2250
          LBOUND[hinctnta==5&cntry=="IT"&essround==6]=1921
          UBOUND[hinctnta==5&cntry=="IT"&essround==6]=2250
          #2016: 1709-2000
          LBOUND[hinctnta==5&cntry=="IT"&essround==8]=1709
          UBOUND[hinctnta==5&cntry=="IT"&essround==8]=2250
          #2018: 1751-2083
          LBOUND[hinctnta==5&cntry=="IT"&essround==9]=1751
          UBOUND[hinctnta==5&cntry=="IT"&essround==9]=2083
        #category 6:
          #2012: 2251-2663
          LBOUND[hinctnta==6&cntry=="IT"&essround==6]=2251
          UBOUND[hinctnta==6&cntry=="IT"&essround==6]=2663
          #2016: 2001-2417
          LBOUND[hinctnta==6&cntry=="IT"&essround==8]=2001
          UBOUND[hinctnta==6&cntry=="IT"&essround==8]=2417
          #2018: 2084-2458
          LBOUND[hinctnta==6&cntry=="IT"&essround==9]=2084
          UBOUND[hinctnta==6&cntry=="IT"&essround==9]=2458
        #category 7:
          #2012: 2664-3140
          LBOUND[hinctnta==7&cntry=="IT"&essround==6]=2664
          UBOUND[hinctnta==7&cntry=="IT"&essround==6]=3140
          #2016: 2418-2875
          LBOUND[hinctnta==7&cntry=="IT"&essround==8]=2418
          UBOUND[hinctnta==7&cntry=="IT"&essround==8]=2875
          #2018: 2459-3000
          LBOUND[hinctnta==7&cntry=="IT"&essround==9]=2459
          UBOUND[hinctnta==7&cntry=="IT"&essround==9]=3000
        #category 8:
          #2012: 3141-3778
          LBOUND[hinctnta==8&cntry=="IT"&essround==6]=3141
          UBOUND[hinctnta==8&cntry=="IT"&essround==6]=3778
          #2016: 2876-3542
          LBOUND[hinctnta==8&cntry=="IT"&essround==8]=2876
          UBOUND[hinctnta==8&cntry=="IT"&essround==8]=3542
          #2018: 3001-3625
          LBOUND[hinctnta==8&cntry=="IT"&essround==9]=3001
          UBOUND[hinctnta==8&cntry=="IT"&essround==9]=3625
        #category 9:
          #2012: 3779-4879
          LBOUND[hinctnta==9&cntry=="IT"&essround==6]=3779
          UBOUND[hinctnta==9&cntry=="IT"&essround==6]=4879
          #2016: 3543-4542
          LBOUND[hinctnta==9&cntry=="IT"&essround==8]=3543
          UBOUND[hinctnta==9&cntry=="IT"&essround==8]=4542
          #2018: 3626-4667
          LBOUND[hinctnta==9&cntry=="IT"&essround==9]=3626
          UBOUND[hinctnta==9&cntry=="IT"&essround==9]=4667
        #category 10:
          #2012: 4879-14638
          LBOUND[hinctnta==10&cntry=="IT"&essround==8]=4879
          UBOUND[hinctnta==10&cntry=="IT"&essround==8]=14638
          #2016: 4543-13629
          LBOUND[hinctnta==10&cntry=="IT"&essround==8]=4543
          UBOUND[hinctnta==10&cntry=="IT"&essround==8]=13629
          #2018: 4668-14004
          LBOUND[hinctnta==10&cntry=="IT"&essround==9]=4668
          UBOUND[hinctnta==10&cntry=="IT"&essround==9]=14004
      #LITHUANIA
        #category 1:
          #2010: 0-203
          LBOUND[hinctnta==1&cntry=="LT"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="LT"&essround==5]=203
          #2012: 0-203
          LBOUND[hinctnta==1&cntry=="LT"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="LT"&essround==6]=203
          #2014: 0-230
          LBOUND[hinctnta==1&cntry=="LT"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="LT"&essround==7]=230
          #2016: 0-349
          LBOUND[hinctnta==1&cntry=="LT"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="LT"&essround==8]=349
          #2018: 0-399
          LBOUND[hinctnta==1&cntry=="LT"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="LT"&essround==9]=399
        #category 2:
          #2010: 204-232
          LBOUND[hinctnta==2&cntry=="LT"&essround==5]=204
          UBOUND[hinctnta==2&cntry=="LT"&essround==5]=232
          #2012: 204-247
          LBOUND[hinctnta==2&cntry=="LT"&essround==6]=204
          UBOUND[hinctnta==2&cntry=="LT"&essround==6]=247
          #2014: 231-290
          LBOUND[hinctnta==2&cntry=="LT"&essround==7]=231
          UBOUND[hinctnta==2&cntry=="LT"&essround==7]=290
          #2016: 350-450
          LBOUND[hinctnta==2&cntry=="LT"&essround==8]=350
          UBOUND[hinctnta==2&cntry=="LT"&essround==8]=450
          #2018: 400-500
          LBOUND[hinctnta==2&cntry=="LT"&essround==9]=400
          UBOUND[hinctnta==2&cntry=="LT"&essround==9]=500
        #category 3:
          #2010: 233-261
          LBOUND[hinctnta==3&cntry=="LT"&essround==5]=233
          UBOUND[hinctnta==3&cntry=="LT"&essround==5]=261
          #2012: 247-348
          LBOUND[hinctnta==3&cntry=="LT"&essround==6]=247
          UBOUND[hinctnta==3&cntry=="LT"&essround==6]=348
          #2014: 291-350
          LBOUND[hinctnta==3&cntry=="LT"&essround==7]=291
          UBOUND[hinctnta==3&cntry=="LT"&essround==7]=350
          #2016: 451-550
          LBOUND[hinctnta==3&cntry=="LT"&essround==8]=451
          UBOUND[hinctnta==3&cntry=="LT"&essround==8]=550
          #2018: 501-650
          LBOUND[hinctnta==3&cntry=="LT"&essround==9]=501
          UBOUND[hinctnta==3&cntry=="LT"&essround==9]=650
        #category 4:
          #2010: 262-319
          LBOUND[hinctnta==4&cntry=="LT"&essround==5]=262
          UBOUND[hinctnta==4&cntry=="LT"&essround==5]=319
          #2012: 349-435
          LBOUND[hinctnta==4&cntry=="LT"&essround==6]=349
          UBOUND[hinctnta==4&cntry=="LT"&essround==6]=435
          #2014: 351-440
          LBOUND[hinctnta==4&cntry=="LT"&essround==7]=351
          UBOUND[hinctnta==4&cntry=="LT"&essround==7]=440
          #2016: 551-650
          LBOUND[hinctnta==4&cntry=="LT"&essround==8]=551
          UBOUND[hinctnta==4&cntry=="LT"&essround==8]=650
          #2018: 651-800
          LBOUND[hinctnta==4&cntry=="LT"&essround==9]=651
          UBOUND[hinctnta==4&cntry=="LT"&essround==9]=800
        #category 5:
          #2010: 320-406
          LBOUND[hinctnta==5&cntry=="LT"&essround==5]=320
          UBOUND[hinctnta==5&cntry=="LT"&essround==5]=406
          #2012: 436-522
          LBOUND[hinctnta==5&cntry=="LT"&essround==6]=436
          UBOUND[hinctnta==5&cntry=="LT"&essround==6]=522
          #2014: 441-520
          LBOUND[hinctnta==5&cntry=="LT"&essround==7]=411
          UBOUND[hinctnta==5&cntry=="LT"&essround==7]=520
          #2016: 651-750
          LBOUND[hinctnta==5&cntry=="LT"&essround==8]=651
          UBOUND[hinctnta==5&cntry=="LT"&essround==8]=750
          #2018: 801-900
          LBOUND[hinctnta==5&cntry=="LT"&essround==9]=801
          UBOUND[hinctnta==5&cntry=="LT"&essround==9]=900
        #category 6:
          #2010: 407-493
          LBOUND[hinctnta==6&cntry=="LT"&essround==5]=407
          UBOUND[hinctnta==6&cntry=="LT"&essround==5]=493
          #2012: 523-580
          LBOUND[hinctnta==6&cntry=="LT"&essround==6]=523
          UBOUND[hinctnta==6&cntry=="LT"&essround==6]=580
          #2014: 521-610
          LBOUND[hinctnta==6&cntry=="LT"&essround==7]=521
          UBOUND[hinctnta==6&cntry=="LT"&essround==7]=610
          #2016: 751-900
          LBOUND[hinctnta==6&cntry=="LT"&essround==8]=751
          UBOUND[hinctnta==6&cntry=="LT"&essround==8]=900
          #2018: 901-1110
          LBOUND[hinctnta==6&cntry=="LT"&essround==9]=901
          UBOUND[hinctnta==6&cntry=="LT"&essround==9]=1110
        #category 7:
          #2010: 494-580
          LBOUND[hinctnta==7&cntry=="LT"&essround==5]=494
          UBOUND[hinctnta==7&cntry=="LT"&essround==5]=580
          #2012: 581-667
          LBOUND[hinctnta==7&cntry=="LT"&essround==6]=581
          UBOUND[hinctnta==7&cntry=="LT"&essround==6]=667
          #2014: 611-700
          LBOUND[hinctnta==7&cntry=="LT"&essround==7]=611
          UBOUND[hinctnta==7&cntry=="LT"&essround==7]=700
          #2016: 901-1050
          LBOUND[hinctnta==7&cntry=="LT"&essround==8]=901
          UBOUND[hinctnta==7&cntry=="LT"&essround==8]=1050
          #2018: 1111-1250
          LBOUND[hinctnta==7&cntry=="LT"&essround==9]=1111
          UBOUND[hinctnta==7&cntry=="LT"&essround==9]=1250
        #category 8:
          #2010: 581-725
          LBOUND[hinctnta==8&cntry=="LT"&essround==5]=581
          UBOUND[hinctnta==8&cntry=="LT"&essround==5]=725
          #2012: 668-812
          LBOUND[hinctnta==8&cntry=="LT"&essround==6]=668
          UBOUND[hinctnta==8&cntry=="LT"&essround==6]=812
          #2014: 701-870
          LBOUND[hinctnta==8&cntry=="LT"&essround==7]=701
          UBOUND[hinctnta==8&cntry=="LT"&essround==7]=870
          #2016: 1051-1200
          LBOUND[hinctnta==8&cntry=="LT"&essround==8]=1051
          UBOUND[hinctnta==8&cntry=="LT"&essround==8]=1200
          #2018: 1251-1400
          LBOUND[hinctnta==8&cntry=="LT"&essround==9]=1251
          UBOUND[hinctnta==8&cntry=="LT"&essround==9]=1400
        #category 9:
          #2010: 726-1014
          LBOUND[hinctnta==9&cntry=="LT"&essround==5]=726
          UBOUND[hinctnta==9&cntry=="LT"&essround==5]=1014
          #2012: 813-870
          LBOUND[hinctnta==9&cntry=="LT"&essround==6]=813
          UBOUND[hinctnta==9&cntry=="LT"&essround==6]=870
          #2014: 871-1020
          LBOUND[hinctnta==9&cntry=="LT"&essround==7]=871
          UBOUND[hinctnta==9&cntry=="LT"&essround==7]=1020
          #2016: 1201-1350
          LBOUND[hinctnta==9&cntry=="LT"&essround==8]=1201
          UBOUND[hinctnta==9&cntry=="LT"&essround==8]=1350
          #2018: 1401-1800
          LBOUND[hinctnta==9&cntry=="LT"&essround==9]=1401
          UBOUND[hinctnta==9&cntry=="LT"&essround==9]=1800
        #category 10:
          #2010: 1015-3044
          LBOUND[hinctnta==10&cntry=="LT"&essround==5]=1015
          UBOUND[hinctnta==10&cntry=="LT"&essround==5]=3044
          #2012: 871-2613
          LBOUND[hinctnta==10&cntry=="LT"&essround==6]=871
          UBOUND[hinctnta==10&cntry=="LT"&essround==6]=2613
          #2014: 1021-3063
          LBOUND[hinctnta==10&cntry=="LT"&essround==7]=1021
          UBOUND[hinctnta==10&cntry=="LT"&essround==7]=3063
          #2016: 1350-4050
          LBOUND[hinctnta==10&cntry=="LT"&essround==8]=1350
          UBOUND[hinctnta==10&cntry=="LT"&essround==8]=4050
          #2018: 1801-5402
          LBOUND[hinctnta==10&cntry=="LT"&essround==9]=1801
          UBOUND[hinctnta==10&cntry=="LT"&essround==9]=5402
      #Latvia
        #category 1:
          #2008: 0-136
          LBOUND[hinctnta==1&cntry=="LV"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="LV"&essround==4]=136
          #2018: 0-300
          LBOUND[hinctnta==1&cntry=="LV"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="LV"&essround==9]=300
        #category 2:
          #2008: 137-272
          LBOUND[hinctnta==2&cntry=="LV"&essround==4]=137
          UBOUND[hinctnta==2&cntry=="LV"&essround==4]=272
          #2018: 301-500
          LBOUND[hinctnta==2&cntry=="LV"&essround==9]=301
          UBOUND[hinctnta==2&cntry=="LV"&essround==9]=500
        #category 3:
          #2008: 273-400
          LBOUND[hinctnta==3&cntry=="LV"&essround==4]=273
          UBOUND[hinctnta==3&cntry=="LV"&essround==4]=400
          #2018: 501-680
          LBOUND[hinctnta==3&cntry=="LV"&essround==9]=501
          UBOUND[hinctnta==3&cntry=="LV"&essround==9]=680
        #category 4:
          #2008: 401-515
          LBOUND[hinctnta==4&cntry=="LV"&essround==4]=401
          UBOUND[hinctnta==4&cntry=="LV"&essround==4]=515
          #2018: 681-900
          LBOUND[hinctnta==4&cntry=="LV"&essround==9]=681
          UBOUND[hinctnta==4&cntry=="LV"&essround==9]=900
        #category 5:
          #2008: 516-601
          LBOUND[hinctnta==5&cntry=="LV"&essround==4]=516
          UBOUND[hinctnta==5&cntry=="LV"&essround==4]=601
          #2018: 901-1120
          LBOUND[hinctnta==5&cntry=="LV"&essround==9]=901
          UBOUND[hinctnta==5&cntry=="LV"&essround==9]=1120
        #category 6:
          #2008: 602-686
          LBOUND[hinctnta==6&cntry=="LV"&essround==4]=602
          UBOUND[hinctnta==6&cntry=="LV"&essround==4]=686
          #2018: 1121-1360
          LBOUND[hinctnta==6&cntry=="LV"&essround==9]=1121
          UBOUND[hinctnta==6&cntry=="LV"&essround==9]=1360
        #category 7:
          #2008: 687-829
          LBOUND[hinctnta==7&cntry=="LV"&essround==4]=687
          UBOUND[hinctnta==7&cntry=="LV"&essround==4]=829
          #2018: 1361-1640
          LBOUND[hinctnta==7&cntry=="LV"&essround==9]=1361
          UBOUND[hinctnta==7&cntry=="LV"&essround==9]=1640
        #category 8:
          #2008: 830-987
          LBOUND[hinctnta==8&cntry=="LV"&essround==4]=830
          UBOUND[hinctnta==8&cntry=="LV"&essround==4]=987
          #2018: 1641-1960
          LBOUND[hinctnta==8&cntry=="LV"&essround==9]=1641
          UBOUND[hinctnta==8&cntry=="LV"&essround==9]=1960
        #category 9:
          #2008: 988-1516
          LBOUND[hinctnta==9&cntry=="LV"&essround==4]=988
          UBOUND[hinctnta==9&cntry=="LV"&essround==4]=1516
          #2018: 1961-2640
          LBOUND[hinctnta==9&cntry=="LV"&essround==9]=1961
          UBOUND[hinctnta==9&cntry=="LV"&essround==9]=2640
        #category 10:
          #2008: 1517-4551
          LBOUND[hinctnta==10&cntry=="LV"&essround==4]=1517
          UBOUND[hinctnta==10&cntry=="LV"&essround==4]=4551
          #2018: 2641-7920
          LBOUND[hinctnta==10&cntry=="LV"&essround==9]=2641
          UBOUND[hinctnta==10&cntry=="LV"&essround==9]=7923
          
      #NETHERLANDS
        #category 1:
          #2008: 0-899
          LBOUND[hinctnta==1&cntry=="NL"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==4]=899
          #2010: 0-1100
          LBOUND[hinctnta==1&cntry=="NL"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==5]=1100
          #2012: 0-1083
          LBOUND[hinctnta==1&cntry=="NL"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==6]=1083
          #2014: 0-1083
          LBOUND[hinctnta==1&cntry=="NL"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==7]=1083
          #2016: 0-1100
          LBOUND[hinctnta==1&cntry=="NL"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==8]=1100
          #2018: 0-1083
          LBOUND[hinctnta==1&cntry=="NL"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="NL"&essround==9]=1083
        #category 2:
          #2008: 900-1149
          LBOUND[hinctnta==2&cntry=="NL"&essround==4]=900
          UBOUND[hinctnta==2&cntry=="NL"&essround==4]=1149
          #2010: 1101-1417
          LBOUND[hinctnta==2&cntry=="NL"&essround==5]=1101
          UBOUND[hinctnta==2&cntry=="NL"&essround==5]=1417
          #2012: 1084-1417
          LBOUND[hinctnta==2&cntry=="NL"&essround==6]=1084
          UBOUND[hinctnta==2&cntry=="NL"&essround==6]=1417
          #2014: 1084-1417
          LBOUND[hinctnta==2&cntry=="NL"&essround==7]=1084
          UBOUND[hinctnta==2&cntry=="NL"&essround==7]=1417
          #2016: 1101-1442
          LBOUND[hinctnta==2&cntry=="NL"&essround==8]=1101
          UBOUND[hinctnta==2&cntry=="NL"&essround==8]=1442
          #2018: 1084-1417
          LBOUND[hinctnta==2&cntry=="NL"&essround==9]=1084
          UBOUND[hinctnta==2&cntry=="NL"&essround==9]=1417
        #category 3:
          #2008: 1150-1399
          LBOUND[hinctnta==3&cntry=="NL"&essround==4]=1150
          UBOUND[hinctnta==3&cntry=="NL"&essround==4]=1399
          #2010: 1418-1708
          LBOUND[hinctnta==3&cntry=="NL"&essround==5]=1418
          UBOUND[hinctnta==3&cntry=="NL"&essround==5]=1708
          #2012: 1418-1700
          LBOUND[hinctnta==3&cntry=="NL"&essround==6]=1418
          UBOUND[hinctnta==3&cntry=="NL"&essround==6]=1700
          #2014: 1418-1708
          LBOUND[hinctnta==3&cntry=="NL"&essround==7]=1418
          UBOUND[hinctnta==3&cntry=="NL"&essround==7]=1708
          #2016: 1443-1733
          LBOUND[hinctnta==3&cntry=="NL"&essround==8]=1443
          UBOUND[hinctnta==3&cntry=="NL"&essround==8]=1733
          #2018: 1418-1667
          LBOUND[hinctnta==3&cntry=="NL"&essround==9]=1418
          UBOUND[hinctnta==3&cntry=="NL"&essround==9]=1667
        #category 4:
          #2008: 1400-1649
          LBOUND[hinctnta==4&cntry=="NL"&essround==4]=1400
          UBOUND[hinctnta==4&cntry=="NL"&essround==4]=1649
          #2010: 1709-2017
          LBOUND[hinctnta==4&cntry=="NL"&essround==5]=1709
          UBOUND[hinctnta==4&cntry=="NL"&essround==5]=2017
          #2012: 1701-2008
          LBOUND[hinctnta==4&cntry=="NL"&essround==6]=1701
          UBOUND[hinctnta==4&cntry=="NL"&essround==6]=2008
          #2014: 1709-2017
          LBOUND[hinctnta==4&cntry=="NL"&essround==7]=1709
          UBOUND[hinctnta==4&cntry=="NL"&essround==7]=2017
          #2016: 1734-2042
          LBOUND[hinctnta==4&cntry=="NL"&essround==8]=1734
          UBOUND[hinctnta==4&cntry=="NL"&essround==8]=2042
          #2018: 1668-2000
          LBOUND[hinctnta==4&cntry=="NL"&essround==9]=1668
          UBOUND[hinctnta==4&cntry=="NL"&essround==9]=2000
        #category 5:
          #2008: 1650-1949
          LBOUND[hinctnta==5&cntry=="NL"&essround==4]=1650
          UBOUND[hinctnta==5&cntry=="NL"&essround==4]=1949
          #2010: 2018-2383
          LBOUND[hinctnta==5&cntry=="NL"&essround==5]=2018
          UBOUND[hinctnta==5&cntry=="NL"&essround==5]=2383
          #2012: 2009-2367
          LBOUND[hinctnta==5&cntry=="NL"&essround==6]=2009
          UBOUND[hinctnta==5&cntry=="NL"&essround==6]=2367
          #2014: 2018-2375
          LBOUND[hinctnta==5&cntry=="NL"&essround==7]=2018
          UBOUND[hinctnta==5&cntry=="NL"&essround==7]=2375
          #2016: 2043-2392
          LBOUND[hinctnta==5&cntry=="NL"&essround==8]=2043
          UBOUND[hinctnta==5&cntry=="NL"&essround==8]=2392
          #2018: 2001-2333
          LBOUND[hinctnta==5&cntry=="NL"&essround==9]=2001
          UBOUND[hinctnta==5&cntry=="NL"&essround==9]=2333
        #category 6:
          #2008: 1950-2249
          LBOUND[hinctnta==6&cntry=="NL"&essround==4]=1950
          UBOUND[hinctnta==6&cntry=="NL"&essround==4]=2249
          #2010: 2384-2792
          LBOUND[hinctnta==6&cntry=="NL"&essround==5]=2384
          UBOUND[hinctnta==6&cntry=="NL"&essround==5]=2792
          #2012: 2368-2792
          LBOUND[hinctnta==6&cntry=="NL"&essround==6]=2368
          UBOUND[hinctnta==6&cntry=="NL"&essround==6]=2792
          #2014: 2376-2792
          LBOUND[hinctnta==6&cntry=="NL"&essround==7]=2376
          UBOUND[hinctnta==6&cntry=="NL"&essround==7]=2792
          #2016: 2393-2825
          LBOUND[hinctnta==6&cntry=="NL"&essround==8]=2393
          UBOUND[hinctnta==6&cntry=="NL"&essround==8]=2825
          #2018: 2334-2750
          LBOUND[hinctnta==6&cntry=="NL"&essround==9]=2334
          UBOUND[hinctnta==6&cntry=="NL"&essround==9]=2750
        #category 7:
          #2008: 2250-2649
          LBOUND[hinctnta==7&cntry=="NL"&essround==4]=2250
          UBOUND[hinctnta==7&cntry=="NL"&essround==4]=2649
          #2010: 2793-3258
          LBOUND[hinctnta==7&cntry=="NL"&essround==5]=2793
          UBOUND[hinctnta==7&cntry=="NL"&essround==5]=3258
          #2012: 2793-3258
          LBOUND[hinctnta==7&cntry=="NL"&essround==6]=2793
          UBOUND[hinctnta==7&cntry=="NL"&essround==6]=3258
          #2014: 2893-3267
          LBOUND[hinctnta==7&cntry=="NL"&essround==7]=2893
          UBOUND[hinctnta==7&cntry=="NL"&essround==7]=3267
          #2016: 2826-3342
          LBOUND[hinctnta==7&cntry=="NL"&essround==8]=2826
          UBOUND[hinctnta==7&cntry=="NL"&essround==8]=3342
          #2018: 2751-3250
          LBOUND[hinctnta==7&cntry=="NL"&essround==9]=2751
          UBOUND[hinctnta==7&cntry=="NL"&essround==9]=3250
        #category 8:
          #2008: 2650-3099
          LBOUND[hinctnta==8&cntry=="NL"&essround==4]=2650
          UBOUND[hinctnta==8&cntry=="NL"&essround==4]=3099
          #2010: 3259-3867
          LBOUND[hinctnta==8&cntry=="NL"&essround==5]=3259
          UBOUND[hinctnta==8&cntry=="NL"&essround==5]=3867
          #2012: 3259-3867
          LBOUND[hinctnta==8&cntry=="NL"&essround==6]=3259
          UBOUND[hinctnta==8&cntry=="NL"&essround==6]=3867
          #2014: 3268-3867
          LBOUND[hinctnta==8&cntry=="NL"&essround==7]=3268
          UBOUND[hinctnta==8&cntry=="NL"&essround==7]=3867
          #2016: 3343-3983
          LBOUND[hinctnta==8&cntry=="NL"&essround==8]=3343
          UBOUND[hinctnta==8&cntry=="NL"&essround==8]=3983
          #2018: 3251-3833
          LBOUND[hinctnta==8&cntry=="NL"&essround==9]=3251
          UBOUND[hinctnta==8&cntry=="NL"&essround==9]=3833
        #category 9:
          #2008: 3100-3849
          LBOUND[hinctnta==9&cntry=="NL"&essround==4]=3100
          UBOUND[hinctnta==9&cntry=="NL"&essround==4]=3849
          #2010: 3868-4400
          LBOUND[hinctnta==9&cntry=="NL"&essround==5]=3868
          UBOUND[hinctnta==9&cntry=="NL"&essround==5]=4400
          #2012: 3868-4900
          LBOUND[hinctnta==9&cntry=="NL"&essround==6]=3868
          UBOUND[hinctnta==9&cntry=="NL"&essround==6]=4900
          #2014: 3868-4850
          LBOUND[hinctnta==9&cntry=="NL"&essround==7]=3868
          UBOUND[hinctnta==9&cntry=="NL"&essround==7]=4850
          #2016: 3984-5008
          LBOUND[hinctnta==9&cntry=="NL"&essround==8]=3984
          UBOUND[hinctnta==9&cntry=="NL"&essround==8]=5008
          #2018: 3834-4833
          LBOUND[hinctnta==9&cntry=="NL"&essround==9]=3834
          UBOUND[hinctnta==9&cntry=="NL"&essround==9]=4833
        #category 10:
          #2008: 3850-11550
          LBOUND[hinctnta==10&cntry=="NL"&essround==4]=3850
          UBOUND[hinctnta==10&cntry=="NL"&essround==4]=11550
          #2010: 4401-13203
          LBOUND[hinctnta==10&cntry=="NL"&essround==5]=4401
          UBOUND[hinctnta==10&cntry=="NL"&essround==5]=13203
          #2012: 4901-14703
          LBOUND[hinctnta==10&cntry=="NL"&essround==6]=4901
          UBOUND[hinctnta==10&cntry=="NL"&essround==6]=14703
          #2014: 4851-14553
          LBOUND[hinctnta==10&cntry=="NL"&essround==7]=4851
          UBOUND[hinctnta==10&cntry=="NL"&essround==7]=14553
          #2016: 5009-15027
          LBOUND[hinctnta==10&cntry=="NL"&essround==8]=5009
          UBOUND[hinctnta==10&cntry=="NL"&essround==8]=15027
          #2018: 4834-14502
          LBOUND[hinctnta==10&cntry=="NL"&essround==9]=4834
          UBOUND[hinctnta==10&cntry=="NL"&essround==9]=14502
      #NORWAY
        #category 1:
          #2008: 0-1281
          LBOUND[hinctnta==1&cntry=="NO"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==4]=1281
          #2010: 0-2137
          LBOUND[hinctnta==1&cntry=="NO"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==5]=2137
          #2012: 0-2372
          LBOUND[hinctnta==1&cntry=="NO"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==6]=2372
          #2014: 0-2409
          LBOUND[hinctnta==1&cntry=="NO"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==7]=2409
          #2016: 0-2280
          LBOUND[hinctnta==1&cntry=="NO"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==8]=2280
          #2018: 0-2259
          LBOUND[hinctnta==1&cntry=="NO"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="NO"&essround==9]=2259
        #category 2:
          #2008: 1282-1708
          LBOUND[hinctnta==2&cntry=="NO"&essround==4]=1282
          UBOUND[hinctnta==2&cntry=="NO"&essround==4]=1708
          #2010: 2138-3143
          LBOUND[hinctnta==2&cntry=="NO"&essround==5]=2138
          UBOUND[hinctnta==2&cntry=="NO"&essround==5]=3143
          #2012: 2372-3415
          LBOUND[hinctnta==2&cntry=="NO"&essround==6]=2372
          UBOUND[hinctnta==2&cntry=="NO"&essround==6]=3415
          #2014: 2410-3393
          LBOUND[hinctnta==2&cntry=="NO"&essround==7]=2410
          UBOUND[hinctnta==2&cntry=="NO"&essround==7]=3393
          #2016: 2281-3233
          LBOUND[hinctnta==2&cntry=="NO"&essround==8]=2281
          UBOUND[hinctnta==2&cntry=="NO"&essround==8]=3233
          #2018: 2260-3193
          LBOUND[hinctnta==2&cntry=="NO"&essround==9]=2260
          UBOUND[hinctnta==2&cntry=="NO"&essround==9]=3193
        #category 3:
          #2008: 1709-2257
          LBOUND[hinctnta==3&cntry=="NO"&essround==4]=1709
          UBOUND[hinctnta==3&cntry=="NO"&essround==4]=2257
          #2010: 3144-3897
          LBOUND[hinctnta==3&cntry=="NO"&essround==5]=3144
          UBOUND[hinctnta==3&cntry=="NO"&essround==5]=3897
          #2012: 3416-4282
          LBOUND[hinctnta==3&cntry=="NO"&essround==6]=3416
          UBOUND[hinctnta==3&cntry=="NO"&essround==6]=4282
          #2014: 3394-4278
          LBOUND[hinctnta==3&cntry=="NO"&essround==7]=3394
          UBOUND[hinctnta==3&cntry=="NO"&essround==7]=4278
          #2016: 3234-4069
          LBOUND[hinctnta==3&cntry=="NO"&essround==8]=3234
          UBOUND[hinctnta==3&cntry=="NO"&essround==8]=4069
          #2018: 3194-4024
          LBOUND[hinctnta==3&cntry=="NO"&essround==9]=3194
          UBOUND[hinctnta==3&cntry=="NO"&essround==9]=4024
        #category 4:
          #2008: 2258-2745
          LBOUND[hinctnta==4&cntry=="NO"&essround==4]=2258
          UBOUND[hinctnta==4&cntry=="NO"&essround==4]=2745
          #2010: 3898-4651
          LBOUND[hinctnta==4&cntry=="NO"&essround==5]=3898
          UBOUND[hinctnta==4&cntry=="NO"&essround==5]=4651
          #2012: 4282-5160
          LBOUND[hinctnta==4&cntry=="NO"&essround==6]=4282
          UBOUND[hinctnta==4&cntry=="NO"&essround==6]=5160
          #2014: 4279-5113
          LBOUND[hinctnta==4&cntry=="NO"&essround==7]=4279
          UBOUND[hinctnta==4&cntry=="NO"&essround==7]=5113
          #2016: 4070-4878
          LBOUND[hinctnta==4&cntry=="NO"&essround==8]=4070
          UBOUND[hinctnta==4&cntry=="NO"&essround==8]=4878
          #2018: 4025-4846
          LBOUND[hinctnta==4&cntry=="NO"&essround==9]=4025
          UBOUND[hinctnta==4&cntry=="NO"&essround==9]=4846
        #category 5:
          #2008: 2746-3294
          LBOUND[hinctnta==5&cntry=="NO"&essround==4]=2746
          UBOUND[hinctnta==5&cntry=="NO"&essround==4]=3294
          #2010: 4652-5531
          LBOUND[hinctnta==5&cntry=="NO"&essround==5]=4652
          UBOUND[hinctnta==5&cntry=="NO"&essround==5]=5531
          #2012: 5161-6039
          LBOUND[hinctnta==5&cntry=="NO"&essround==6]=5161
          UBOUND[hinctnta==5&cntry=="NO"&essround==6]=6039
          #2014: 5114-6048
          LBOUND[hinctnta==5&cntry=="NO"&essround==7]=5114
          UBOUND[hinctnta==5&cntry=="NO"&essround==7]=6048
          #2016: 4879-5759
          LBOUND[hinctnta==5&cntry=="NO"&essround==8]=4879
          UBOUND[hinctnta==5&cntry=="NO"&essround==8]=5759
          #2018: 4847-5668
          LBOUND[hinctnta==5&cntry=="NO"&essround==9]=4847
          UBOUND[hinctnta==5&cntry=="NO"&essround==9]=5668
        #category 6:
          #2008: 3295-4026
          LBOUND[hinctnta==6&cntry=="NO"&essround==4]=3295
          UBOUND[hinctnta==6&cntry=="NO"&essround==4]=4026
          #2010: 5532-6285
          LBOUND[hinctnta==6&cntry=="NO"&essround==5]=5532
          UBOUND[hinctnta==6&cntry=="NO"&essround==5]=6285
          #2012: 6040-6873
          LBOUND[hinctnta==6&cntry=="NO"&essround==6]=6040
          UBOUND[hinctnta==6&cntry=="NO"&essround==6]=6873
          #2014: 6049-6933
          LBOUND[hinctnta==6&cntry=="NO"&essround==7]=6049
          UBOUND[hinctnta==6&cntry=="NO"&essround==7]=6933
          #2016: 5760-6622
          LBOUND[hinctnta==6&cntry=="NO"&essround==8]=5760
          UBOUND[hinctnta==6&cntry=="NO"&essround==8]=6622
          #2018: 5669-6533
          LBOUND[hinctnta==6&cntry=="NO"&essround==9]=5669
          UBOUND[hinctnta==6&cntry=="NO"&essround==9]=6533
        #category 7:
          #2008: 4029-4819
          LBOUND[hinctnta==7&cntry=="NO"&essround==4]=4029
          UBOUND[hinctnta==7&cntry=="NO"&essround==4]=4819
          #2010: 6286-7040
          LBOUND[hinctnta==7&cntry=="NO"&essround==5]=6286
          UBOUND[hinctnta==7&cntry=="NO"&essround==5]=7040
          #2012: 6874-7751
          LBOUND[hinctnta==7&cntry=="NO"&essround==6]=6874
          UBOUND[hinctnta==7&cntry=="NO"&essround==6]=7751
          #2014: 6934-7818
          LBOUND[hinctnta==7&cntry=="NO"&essround==7]=6934
          UBOUND[hinctnta==7&cntry=="NO"&essround==7]=7818
          #2016: 6623-7539
          LBOUND[hinctnta==7&cntry=="NO"&essround==8]=6623
          UBOUND[hinctnta==7&cntry=="NO"&essround==8]=7539
          #2018: 6534-7442
          LBOUND[hinctnta==7&cntry=="NO"&essround==9]=6534
          UBOUND[hinctnta==7&cntry=="NO"&essround==9]=7442
        #category 8:
          #2008: 4820-5612
          LBOUND[hinctnta==8&cntry=="NO"&essround==4]=4820
          UBOUND[hinctnta==8&cntry=="NO"&essround==4]=5612
          #2010: 7041-8045
          LBOUND[hinctnta==8&cntry=="NO"&essround==5]=7041
          UBOUND[hinctnta==8&cntry=="NO"&essround==5]=8045
          #2012: 7752-8860
          LBOUND[hinctnta==8&cntry=="NO"&essround==6]=7752
          UBOUND[hinctnta==8&cntry=="NO"&essround==6]=8860
          #2014: 7819-8998
          LBOUND[hinctnta==8&cntry=="NO"&essround==7]=7819
          UBOUND[hinctnta==8&cntry=="NO"&essround==7]=8998
          #2016: 7540-8675
          LBOUND[hinctnta==8&cntry=="NO"&essround==8]=7540
          UBOUND[hinctnta==8&cntry=="NO"&essround==8]=8675
          #2018: 7443-8645
          LBOUND[hinctnta==8&cntry=="NO"&essround==9]=7443
          UBOUND[hinctnta==8&cntry=="NO"&essround==9]=8645
        #category 9:
          #2008: 5613-6832
          LBOUND[hinctnta==9&cntry=="NO"&essround==4]=5613
          UBOUND[hinctnta==9&cntry=="NO"&essround==4]=6832
          #2010: 8046-9805
          LBOUND[hinctnta==9&cntry=="NO"&essround==5]=8046
          UBOUND[hinctnta==9&cntry=="NO"&essround==5]=9805
          #2012: 8861-10683
          LBOUND[hinctnta==9&cntry=="NO"&essround==6]=8861
          UBOUND[hinctnta==9&cntry=="NO"&essround==6]=10683
          #2014: 8999-10915
          LBOUND[hinctnta==9&cntry=="NO"&essround==7]=8999
          UBOUND[hinctnta==9&cntry=="NO"&essround==7]=10915
          #2016: 8676-10555
          LBOUND[hinctnta==9&cntry=="NO"&essround==8]=8676
          UBOUND[hinctnta==9&cntry=="NO"&essround==8]=10555
          #2018: 8646-10384
          LBOUND[hinctnta==9&cntry=="NO"&essround==9]=8646
          UBOUND[hinctnta==9&cntry=="NO"&essround==9]=10384
        #category 10:
          #2008: 6833-20499
          LBOUND[hinctnta==10&cntry=="NO"&essround==4]=6833
          UBOUND[hinctnta==10&cntry=="NO"&essround==4]=20499
          #2010: 9806-29418
          LBOUND[hinctnta==10&cntry=="NO"&essround==5]=9806
          UBOUND[hinctnta==10&cntry=="NO"&essround==5]=29418
          #2012: 10684-32052
          LBOUND[hinctnta==10&cntry=="NO"&essround==6]=10684
          UBOUND[hinctnta==10&cntry=="NO"&essround==6]=32052
          #2014: 10916-32748
          LBOUND[hinctnta==10&cntry=="NO"&essround==7]=10916
          UBOUND[hinctnta==10&cntry=="NO"&essround==7]=32748
          #2016: 10556-31668
          LBOUND[hinctnta==10&cntry=="NO"&essround==8]=10556
          UBOUND[hinctnta==10&cntry=="NO"&essround==8]=31668
          #2018: 10385-31155
          LBOUND[hinctnta==10&cntry=="NO"&essround==9]=10385
          UBOUND[hinctnta==10&cntry=="NO"&essround==9]=31155
      #POLAND
        #category 1:
          #2008: 0-210
          LBOUND[hinctnta==1&cntry=="PL"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==4]=210
          #2010: 0-278
          LBOUND[hinctnta==1&cntry=="PL"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==5]=278
          #2012: 0-291
          LBOUND[hinctnta==1&cntry=="PL"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==6]=291
          #2014: 0-315
          LBOUND[hinctnta==1&cntry=="PL"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==7]=315
          #2016: 0-320
          LBOUND[hinctnta==1&cntry=="PL"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==8]=320
          #2018: 0-394
          LBOUND[hinctnta==1&cntry=="PL"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="PL"&essround==9]=394
        #category 2:
          #2008: 211-271
          LBOUND[hinctnta==2&cntry=="PL"&essround==4]=211
          UBOUND[hinctnta==2&cntry=="PL"&essround==4]=271
          #2010: 279-380
          LBOUND[hinctnta==2&cntry=="PL"&essround==5]=279
          UBOUND[hinctnta==2&cntry=="PL"&essround==5]=380
          #2012: 292-388
          LBOUND[hinctnta==2&cntry=="PL"&essround==6]=292
          UBOUND[hinctnta==2&cntry=="PL"&essround==6]=388
          #2014: 316-412
          LBOUND[hinctnta==2&cntry=="PL"&essround==7]=316
          UBOUND[hinctnta==2&cntry=="PL"&essround==7]=412
          #2016: 321-435
          LBOUND[hinctnta==2&cntry=="PL"&essround==8]=321
          UBOUND[hinctnta==2&cntry=="PL"&essround==8]=435
          #2018: 395-533
          LBOUND[hinctnta==2&cntry=="PL"&essround==9]=395
          UBOUND[hinctnta==2&cntry=="PL"&essround==9]=533
        #category 3:
          #2008: 272-346
          LBOUND[hinctnta==3&cntry=="PL"&essround==4]=272
          UBOUND[hinctnta==3&cntry=="PL"&essround==4]=346
          #2010: 381-506
          LBOUND[hinctnta==3&cntry=="PL"&essround==5]=381
          UBOUND[hinctnta==3&cntry=="PL"&essround==5]=506
          #2012: 389-485
          LBOUND[hinctnta==3&cntry=="PL"&essround==6]=389
          UBOUND[hinctnta==3&cntry=="PL"&essround==6]=485
          #2014: 413-534
          LBOUND[hinctnta==3&cntry=="PL"&essround==7]=413
          UBOUND[hinctnta==3&cntry=="PL"&essround==7]=534
          #2016: 436-549
          LBOUND[hinctnta==3&cntry=="PL"&essround==8]=436
          UBOUND[hinctnta==3&cntry=="PL"&essround==8]=549
          #2018: 534-695
          LBOUND[hinctnta==3&cntry=="PL"&essround==9]=534
          UBOUND[hinctnta==3&cntry=="PL"&essround==9]=695
        #category 4:
          #2008: 347-420
          LBOUND[hinctnta==4&cntry=="PL"&essround==4]=347
          UBOUND[hinctnta==4&cntry=="PL"&essround==4]=420
          #2010: 507-608
          LBOUND[hinctnta==4&cntry=="PL"&essround==5]=507
          UBOUND[hinctnta==4&cntry=="PL"&essround==5]=608
          #2012: 486-607
          LBOUND[hinctnta==4&cntry=="PL"&essround==6]=486
          UBOUND[hinctnta==4&cntry=="PL"&essround==6]=607
          #2014: 535-655
          LBOUND[hinctnta==4&cntry=="PL"&essround==7]=535
          UBOUND[hinctnta==4&cntry=="PL"&essround==7]=655
          #2016: 550-664
          LBOUND[hinctnta==4&cntry=="PL"&essround==8]=550
          UBOUND[hinctnta==4&cntry=="PL"&essround==8]=664
          #2018: 696-834
          LBOUND[hinctnta==4&cntry=="PL"&essround==9]=696
          UBOUND[hinctnta==4&cntry=="PL"&essround==9]=834
        #category 5:
          #2008: 421-494
          LBOUND[hinctnta==5&cntry=="PL"&essround==4]=421
          UBOUND[hinctnta==5&cntry=="PL"&essround==4]=494
          #2010: 609-709
          LBOUND[hinctnta==5&cntry=="PL"&essround==5]=609
          UBOUND[hinctnta==5&cntry=="PL"&essround==5]=709
          #2012: 608-728
          LBOUND[hinctnta==5&cntry=="PL"&essround==6]=608
          UBOUND[hinctnta==5&cntry=="PL"&essround==6]=728
          #2014: 656-752
          LBOUND[hinctnta==5&cntry=="PL"&essround==7]=656
          UBOUND[hinctnta==5&cntry=="PL"&essround==7]=752
          #2016: 665-778
          LBOUND[hinctnta==5&cntry=="PL"&essround==8]=665
          UBOUND[hinctnta==5&cntry=="PL"&essround==8]=778
          #2018: 835-996
          LBOUND[hinctnta==5&cntry=="PL"&essround==9]=835
          UBOUND[hinctnta==5&cntry=="PL"&essround==9]=996
        #category 6:
          #2008: 495-568
          LBOUND[hinctnta==6&cntry=="PL"&essround==4]=495
          UBOUND[hinctnta==6&cntry=="PL"&essround==4]=568
          #2010: 710-835
          LBOUND[hinctnta==6&cntry=="PL"&essround==5]=710
          UBOUND[hinctnta==6&cntry=="PL"&essround==5]=835
          #2012: 729-850
          LBOUND[hinctnta==6&cntry=="PL"&essround==6]=729
          UBOUND[hinctnta==6&cntry=="PL"&essround==6]=850
          #2014: 753-898
          LBOUND[hinctnta==6&cntry=="PL"&essround==7]=753
          UBOUND[hinctnta==6&cntry=="PL"&essround==7]=898
          #2016: 779-915
          LBOUND[hinctnta==6&cntry=="PL"&essround==8]=779
          UBOUND[hinctnta==6&cntry=="PL"&essround==8]=915
          #2018: 997-1159
          LBOUND[hinctnta==6&cntry=="PL"&essround==9]=997
          UBOUND[hinctnta==6&cntry=="PL"&essround==9]=1159
        #category 7:
          #2008: 569-667
          LBOUND[hinctnta==7&cntry=="PL"&essround==4]=569
          UBOUND[hinctnta==7&cntry=="PL"&essround==4]=667
          #2010: 836-987
          LBOUND[hinctnta==7&cntry=="PL"&essround==5]=836
          UBOUND[hinctnta==7&cntry=="PL"&essround==5]=987
          #2012: 851-995
          LBOUND[hinctnta==7&cntry=="PL"&essround==6]=851
          UBOUND[hinctnta==7&cntry=="PL"&essround==6]=995
          #2014: 899-1043
          LBOUND[hinctnta==7&cntry=="PL"&essround==7]=899
          UBOUND[hinctnta==7&cntry=="PL"&essround==7]=1043
          #2016: 916-1075
          LBOUND[hinctnta==7&cntry=="PL"&essround==8]=916
          UBOUND[hinctnta==7&cntry=="PL"&essround==8]=1075
          #2018: 1160-1367
          LBOUND[hinctnta==7&cntry=="PL"&essround==9]=1160
          UBOUND[hinctnta==7&cntry=="PL"&essround==9]=1367
        #category 8:
          #2008: 668-790
          LBOUND[hinctnta==8&cntry=="PL"&essround==4]=668
          UBOUND[hinctnta==8&cntry=="PL"&essround==4]=790
          #2010: 988-1190
          LBOUND[hinctnta==8&cntry=="PL"&essround==5]=988
          UBOUND[hinctnta==8&cntry=="PL"&essround==5]=1190
          #2012: 996-1189
          LBOUND[hinctnta==8&cntry=="PL"&essround==6]=996
          UBOUND[hinctnta==8&cntry=="PL"&essround==6]=1189
          #2014: 1044-1237
          LBOUND[hinctnta==8&cntry=="PL"&essround==7]=1044
          UBOUND[hinctnta==8&cntry=="PL"&essround==7]=1237
          #2016: 1076-1281
          LBOUND[hinctnta==8&cntry=="PL"&essround==8]=1076
          UBOUND[hinctnta==8&cntry=="PL"&essround==8]=1281
          #2018: 1368-1622
          LBOUND[hinctnta==8&cntry=="PL"&essround==9]=1368
          UBOUND[hinctnta==8&cntry=="PL"&essround==9]=1622
        #category 9:
          #2008: 792-1037
          LBOUND[hinctnta==9&cntry=="PL"&essround==4]=792
          UBOUND[hinctnta==9&cntry=="PL"&essround==4]=1037
          #2010: 1191-1519
          LBOUND[hinctnta==9&cntry=="PL"&essround==5]=1191
          UBOUND[hinctnta==9&cntry=="PL"&essround==5]=1519
          #2012: 1190-1553
          LBOUND[hinctnta==9&cntry=="PL"&essround==6]=1190
          UBOUND[hinctnta==9&cntry=="PL"&essround==6]=1553
          #2014: 1238-1601
          LBOUND[hinctnta==9&cntry=="PL"&essround==7]=1238
          UBOUND[hinctnta==9&cntry=="PL"&essround==7]=1601
          #2016: 1282-1624
          LBOUND[hinctnta==9&cntry=="PL"&essround==8]=1282
          UBOUND[hinctnta==9&cntry=="PL"&essround==8]=1624
          #2018: 1623-2039
          LBOUND[hinctnta==9&cntry=="PL"&essround==9]=1623
          UBOUND[hinctnta==9&cntry=="PL"&essround==9]=2039
        #category 10:
          #2008: 1038-3113
          LBOUND[hinctnta==10&cntry=="PL"&essround==4]=1038
          UBOUND[hinctnta==10&cntry=="PL"&essround==4]=3113
          #2010: 1520-4560
          LBOUND[hinctnta==10&cntry=="PL"&essround==5]=1520
          UBOUND[hinctnta==10&cntry=="PL"&essround==5]=4560
          #2012: 1554-4661
          LBOUND[hinctnta==10&cntry=="PL"&essround==6]=1554
          UBOUND[hinctnta==10&cntry=="PL"&essround==6]=4661
          #2014: 1602-4806
          LBOUND[hinctnta==10&cntry=="PL"&essround==7]=1602
          UBOUND[hinctnta==10&cntry=="PL"&essround==7]=4806
          #2016: 1625-4875
          LBOUND[hinctnta==10&cntry=="PL"&essround==8]=1625
          UBOUND[hinctnta==10&cntry=="PL"&essround==8]=4875
          #2018: 2040-6120
          LBOUND[hinctnta==10&cntry=="PL"&essround==9]=2040
          UBOUND[hinctnta==10&cntry=="PL"&essround==9]=6120
      #PORTUGAL
        #category 1:
          #2008: 0-416
          LBOUND[hinctnta==1&cntry=="PT"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="PT"&essround==4]=416
          #2012: 0-458
          LBOUND[hinctnta==1&cntry=="PT"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="PT"&essround==6]=458
          #2014: 0-425
          LBOUND[hinctnta==1&cntry=="PT"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="PT"&essround==7]=425
          #2016: 0-413
          LBOUND[hinctnta==1&cntry=="PT"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="PT"&essround==8]=413
          #2018: 0-470
          LBOUND[hinctnta==1&cntry=="PT"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="PT"&essround==9]=470
        #category 2:
          #2008: 417-582
          LBOUND[hinctnta==2&cntry=="PT"&essround==4]=417
          UBOUND[hinctnta==2&cntry=="PT"&essround==4]=582
          #2012: 459-625
          LBOUND[hinctnta==2&cntry=="PT"&essround==6]=459
          UBOUND[hinctnta==2&cntry=="PT"&essround==6]=625
          #2014: 426-617
          LBOUND[hinctnta==2&cntry=="PT"&essround==7]=426
          UBOUND[hinctnta==2&cntry=="PT"&essround==7]=617
          #2016: 414-600
          LBOUND[hinctnta==2&cntry=="PT"&essround==8]=414
          UBOUND[hinctnta==2&cntry=="PT"&essround==8]=600
          #2018: 471-649
          LBOUND[hinctnta==2&cntry=="PT"&essround==9]=471
          UBOUND[hinctnta==2&cntry=="PT"&essround==9]=649
        #category 3:
          #2008: 583-749
          LBOUND[hinctnta==3&cntry=="PT"&essround==4]=583
          UBOUND[hinctnta==3&cntry=="PT"&essround==4]=749
          #2012: 626-833
          LBOUND[hinctnta==3&cntry=="PT"&essround==6]=626
          UBOUND[hinctnta==3&cntry=="PT"&essround==6]=833
          #2014: 618-783
          LBOUND[hinctnta==3&cntry=="PT"&essround==7]=618
          UBOUND[hinctnta==3&cntry=="PT"&essround==7]=783
          #2016: 601-767
          LBOUND[hinctnta==3&cntry=="PT"&essround==8]=601
          UBOUND[hinctnta==3&cntry=="PT"&essround==8]=767
          #2018: 650-826
          LBOUND[hinctnta==3&cntry=="PT"&essround==9]=650
          UBOUND[hinctnta==3&cntry=="PT"&essround==9]=826
        #category 4:
          #2008: 750-916
          LBOUND[hinctnta==4&cntry=="PT"&essround==4]=750
          UBOUND[hinctnta==4&cntry=="PT"&essround==4]=916
          #2012: 834-1000
          LBOUND[hinctnta==4&cntry=="PT"&essround==6]=834
          UBOUND[hinctnta==4&cntry=="PT"&essround==6]=1000
          #2014: 784-967
          LBOUND[hinctnta==4&cntry=="PT"&essround==7]=784
          UBOUND[hinctnta==4&cntry=="PT"&essround==7]=967
          #2016: 768-950
          LBOUND[hinctnta==4&cntry=="PT"&essround==8]=768
          UBOUND[hinctnta==4&cntry=="PT"&essround==8]=950
          #2018: 827-1051
          LBOUND[hinctnta==4&cntry=="PT"&essround==9]=827
          UBOUND[hinctnta==4&cntry=="PT"&essround==9]=1051
        #category 5:
          #2008: 917-1149
          LBOUND[hinctnta==5&cntry=="PT"&essround==4]=917
          UBOUND[hinctnta==5&cntry=="PT"&essround==4]=1149
          #2012: 1001-1167
          LBOUND[hinctnta==5&cntry=="PT"&essround==6]=1001
          UBOUND[hinctnta==5&cntry=="PT"&essround==6]=1167
          #2014: 968-1167
          LBOUND[hinctnta==5&cntry=="PT"&essround==7]=968
          UBOUND[hinctnta==5&cntry=="PT"&essround==7]=1167
          #2016: 951-1158
          LBOUND[hinctnta==5&cntry=="PT"&essround==8]=951
          UBOUND[hinctnta==5&cntry=="PT"&essround==8]=1158
          #2018: 1052-1263
          LBOUND[hinctnta==5&cntry=="PT"&essround==9]=1052
          UBOUND[hinctnta==5&cntry=="PT"&essround==9]=1263
        #category 6:
          #2008: 1150-1332
          LBOUND[hinctnta==6&cntry=="PT"&essround==4]=1150
          UBOUND[hinctnta==6&cntry=="PT"&essround==4]=1332
          #2012: 1168-1417
          LBOUND[hinctnta==6&cntry=="PT"&essround==6]=1168
          UBOUND[hinctnta==6&cntry=="PT"&essround==6]=1417
          #2014: 1168-1396
          LBOUND[hinctnta==6&cntry=="PT"&essround==7]=1168
          UBOUND[hinctnta==6&cntry=="PT"&essround==7]=1396
          #2016: 1159-1375
          LBOUND[hinctnta==6&cntry=="PT"&essround==8]=1159
          UBOUND[hinctnta==6&cntry=="PT"&essround==8]=1375
          #2018: 1264-1497
          LBOUND[hinctnta==6&cntry=="PT"&essround==9]=1264
          UBOUND[hinctnta==6&cntry=="PT"&essround==9]=1497
        #category 7:
          #2008: 1333-1624
          LBOUND[hinctnta==7&cntry=="PT"&essround==4]=1333
          UBOUND[hinctnta==7&cntry=="PT"&essround==4]=1624
          #2012: 1418-1667
          LBOUND[hinctnta==7&cntry=="PT"&essround==6]=1418
          UBOUND[hinctnta==7&cntry=="PT"&essround==6]=1667
          #2014: 1397-1675
          LBOUND[hinctnta==7&cntry=="PT"&essround==7]=1397
          UBOUND[hinctnta==7&cntry=="PT"&essround==7]=1675
          #2016: 1376-1642
          LBOUND[hinctnta==7&cntry=="PT"&essround==8]=1376
          UBOUND[hinctnta==7&cntry=="PT"&essround==8]=1642
          #2018: 1498-1791
          LBOUND[hinctnta==7&cntry=="PT"&essround==9]=1498
          UBOUND[hinctnta==7&cntry=="PT"&essround==9]=1791
        #category 8:
          #2008: 1625-2041
          LBOUND[hinctnta==8&cntry=="PT"&essround==4]=1625
          UBOUND[hinctnta==8&cntry=="PT"&essround==4]=2041
          #2012: 1668-2083
          LBOUND[hinctnta==8&cntry=="PT"&essround==6]=1668
          UBOUND[hinctnta==8&cntry=="PT"&essround==6]=2083
          #2014: 1676-2075
          LBOUND[hinctnta==8&cntry=="PT"&essround==7]=1676
          UBOUND[hinctnta==8&cntry=="PT"&essround==7]=2075
          #2016: 1643-2038
          LBOUND[hinctnta==8&cntry=="PT"&essround==8]=1643
          UBOUND[hinctnta==8&cntry=="PT"&essround==8]=2038
          #2018: 1792-2200
          LBOUND[hinctnta==8&cntry=="PT"&essround==9]=1792
          UBOUND[hinctnta==8&cntry=="PT"&essround==9]=2200
        #category 9:
          #2008: 2042-2916
          LBOUND[hinctnta==9&cntry=="PT"&essround==4]=2042
          UBOUND[hinctnta==9&cntry=="PT"&essround==4]=2916
          #2012: 2084-2917
          LBOUND[hinctnta==9&cntry=="PT"&essround==6]=2084
          UBOUND[hinctnta==9&cntry=="PT"&essround==6]=2917
          #2014: 2076-3150
          LBOUND[hinctnta==9&cntry=="PT"&essround==7]=2076
          UBOUND[hinctnta==9&cntry=="PT"&essround==7]=3150
          #2016: 2039-3083
          LBOUND[hinctnta==9&cntry=="PT"&essround==8]=2039
          UBOUND[hinctnta==9&cntry=="PT"&essround==8]=3083
          #2018: 2201-2924
          LBOUND[hinctnta==9&cntry=="PT"&essround==9]=2201
          UBOUND[hinctnta==9&cntry=="PT"&essround==9]=2924
        #category 10:
          #2008: 2917-8751
          LBOUND[hinctnta==10&cntry=="PT"&essround==4]=2917
          UBOUND[hinctnta==10&cntry=="PT"&essround==4]=8751
          #2012: 2918-8754
          LBOUND[hinctnta==10&cntry=="PT"&essround==6]=2918
          UBOUND[hinctnta==10&cntry=="PT"&essround==6]=8754
          #2014: 3151-9453
          LBOUND[hinctnta==10&cntry=="PT"&essround==7]=3151
          UBOUND[hinctnta==10&cntry=="PT"&essround==7]=9453
          #2016: 3084-9252
          LBOUND[hinctnta==10&cntry=="PT"&essround==8]=3084
          UBOUND[hinctnta==10&cntry=="PT"&essround==8]=9252
          #2018: 2925-8775
          LBOUND[hinctnta==10&cntry=="PT"&essround==9]=2925
          UBOUND[hinctnta==10&cntry=="PT"&essround==9]=8775
      #RUSSIA
        #category 1:
          #2008: 0-73
          LBOUND[hinctnta==1&cntry=="RU"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="RU"&essround==4]=73
          #2010: 0-143
          LBOUND[hinctnta==1&cntry=="RU"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="RU"&essround==5]=143
          #2012: 0-149
          LBOUND[hinctnta==1&cntry=="RU"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="RU"&essround==6]=149
          #2016: 0-190
          LBOUND[hinctnta==1&cntry=="RU"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="RU"&essround==8]=190
        #category 2:
          #2008: 74-145 
          LBOUND[hinctnta==2&cntry=="RU"&essround==4]=74
          UBOUND[hinctnta==2&cntry=="RU"&essround==4]=145
          #2010: 144-215
          LBOUND[hinctnta==2&cntry=="RU"&essround==5]=144
          UBOUND[hinctnta==2&cntry=="RU"&essround==5]=215
          #2012: 150-224
          LBOUND[hinctnta==2&cntry=="RU"&essround==6]=150
          UBOUND[hinctnta==2&cntry=="RU"&essround==6]=224
          #2016: 191-237
          LBOUND[hinctnta==2&cntry=="RU"&essround==8]=191
          UBOUND[hinctnta==2&cntry=="RU"&essround==8]=237
        #category 3:
          #2008: 146-218
          LBOUND[hinctnta==3&cntry=="RU"&essround==4]=146
          UBOUND[hinctnta==3&cntry=="RU"&essround==4]=218
          #2010: 216-286
          LBOUND[hinctnta==3&cntry=="RU"&essround==5]=216
          UBOUND[hinctnta==3&cntry=="RU"&essround==5]=286
          #2012: 225-299
          LBOUND[hinctnta==3&cntry=="RU"&essround==6]=225
          UBOUND[hinctnta==3&cntry=="RU"&essround==6]=299
          #2016: 238-285
          LBOUND[hinctnta==3&cntry=="RU"&essround==8]=238
          UBOUND[hinctnta==3&cntry=="RU"&essround==8]=285
        #category 4:
          #2008: 219-290
          LBOUND[hinctnta==4&cntry=="RU"&essround==4]=219
          UBOUND[hinctnta==4&cntry=="RU"&essround==4]=290
          #2010: 287-358
          LBOUND[hinctnta==4&cntry=="RU"&essround==5]=287
          UBOUND[hinctnta==4&cntry=="RU"&essround==5]=358
          #2012: 300-373
          LBOUND[hinctnta==4&cntry=="RU"&essround==6]=300
          UBOUND[hinctnta==4&cntry=="RU"&essround==6]=373
          #2016:286-332
          LBOUND[hinctnta==4&cntry=="RU"&essround==8]=286
          UBOUND[hinctnta==4&cntry=="RU"&essround==8]=332
        #category 5:
          #2008: 291-363
          LBOUND[hinctnta==5&cntry=="RU"&essround==4]=291
          UBOUND[hinctnta==5&cntry=="RU"&essround==4]=363
          #2010: 359-429
          LBOUND[hinctnta==5&cntry=="RU"&essround==5]=359
          UBOUND[hinctnta==5&cntry=="RU"&essround==5]=429
          #2012: 374-448
          LBOUND[hinctnta==5&cntry=="RU"&essround==6]=374
          UBOUND[hinctnta==5&cntry=="RU"&essround==6]=448
          #2016: 333-396
          LBOUND[hinctnta==5&cntry=="RU"&essround==8]=333
          UBOUND[hinctnta==5&cntry=="RU"&essround==8]=396
        #category 6:
          #2008: 363-435
          LBOUND[hinctnta==6&cntry=="RU"&essround==4]=363
          UBOUND[hinctnta==6&cntry=="RU"&essround==4]=435
          #2010: 430-501
          LBOUND[hinctnta==6&cntry=="RU"&essround==5]=430
          UBOUND[hinctnta==6&cntry=="RU"&essround==5]=501
          #2012: 499-522
          LBOUND[hinctnta==6&cntry=="RU"&essround==6]=499
          UBOUND[hinctnta==6&cntry=="RU"&essround==6]=522
          #2016: 397-475
          LBOUND[hinctnta==6&cntry=="RU"&essround==8]=397
          UBOUND[hinctnta==6&cntry=="RU"&essround==8]=475
        #category 7:
          #2008: 436-508
          LBOUND[hinctnta==7&cntry=="RU"&essround==4]=436
          UBOUND[hinctnta==7&cntry=="RU"&essround==4]=508
          #2010: 502-596
          LBOUND[hinctnta==7&cntry=="RU"&essround==5]=502
          UBOUND[hinctnta==7&cntry=="RU"&essround==5]=596
          #2012: 523-622
          LBOUND[hinctnta==7&cntry=="RU"&essround==6]=523
          UBOUND[hinctnta==7&cntry=="RU"&essround==6]=622
          #2016: 476-633
          LBOUND[hinctnta==7&cntry=="RU"&essround==8]=476
          UBOUND[hinctnta==7&cntry=="RU"&essround==8]=633
        #category 8:
          #2008: 509-604
          LBOUND[hinctnta==8&cntry=="RU"&essround==4]=509
          UBOUND[hinctnta==8&cntry=="RU"&essround==4]=604
          #2010: 597-715
          LBOUND[hinctnta==8&cntry=="RU"&essround==5]=597
          UBOUND[hinctnta==8&cntry=="RU"&essround==5]=715
          #2012: 623-746
          LBOUND[hinctnta==8&cntry=="RU"&essround==6]=623
          UBOUND[hinctnta==8&cntry=="RU"&essround==6]=746
          #2016: 634-949
          LBOUND[hinctnta==8&cntry=="RU"&essround==8]=634
          UBOUND[hinctnta==8&cntry=="RU"&essround==8]=949
        #category 9:
          #2008: 605-846
          LBOUND[hinctnta==9&cntry=="RU"&essround==4]=605
          UBOUND[hinctnta==9&cntry=="RU"&essround==4]=846
          #2010: 716-954
          LBOUND[hinctnta==9&cntry=="RU"&essround==5]=716
          UBOUND[hinctnta==9&cntry=="RU"&essround==5]=954
          #2012: 747-995
          LBOUND[hinctnta==9&cntry=="RU"&essround==6]=747
          UBOUND[hinctnta==9&cntry=="RU"&essround==6]=995
          #2016: 950-1266
          LBOUND[hinctnta==9&cntry=="RU"&essround==8]=950
          UBOUND[hinctnta==9&cntry=="RU"&essround==8]=1266
        #category 10:
          #2008: 847-2541
          LBOUND[hinctnta==10&cntry=="RU"&essround==4]=847
          UBOUND[hinctnta==10&cntry=="RU"&essround==4]=2541
          #2010: 955-2865
          LBOUND[hinctnta==10&cntry=="RU"&essround==5]=955
          UBOUND[hinctnta==10&cntry=="RU"&essround==5]=2865
          #2012: 996-2988
          LBOUND[hinctnta==10&cntry=="RU"&essround==6]=996
          UBOUND[hinctnta==10&cntry=="RU"&essround==6]=2988
          #2016: 1267-3801
          LBOUND[hinctnta==10&cntry=="RU"&essround==8]=1267
          UBOUND[hinctnta==10&cntry=="RU"&essround==8]=3801
      #SLOVAK REP
        #category 1:
          #2010: 0-134
          LBOUND[hinctnta==1&cntry=="SK"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="SK"&essround==5]=134
          #2012: 0-352
          LBOUND[hinctnta==1&cntry=="SK"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="SK"&essround==6]=352
          #2018: 0-270
          LBOUND[hinctnta==1&cntry=="SK"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="SK"&essround==9]=270
        #category 2:
          #2010: 135-194
          LBOUND[hinctnta==2&cntry=="SK"&essround==5]=135
          UBOUND[hinctnta==2&cntry=="SK"&essround==5]=194
          #2012: 353-456
          LBOUND[hinctnta==2&cntry=="SK"&essround==6]=352
          UBOUND[hinctnta==2&cntry=="SK"&essround==6]=456
          #2018: 271-480
          LBOUND[hinctnta==2&cntry=="SK"&essround==9]=271
          UBOUND[hinctnta==2&cntry=="SK"&essround==9]=480
        #category 3:
          #2010: 
          LBOUND[hinctnta==3&cntry=="SK"&essround==5]=195
          UBOUND[hinctnta==3&cntry=="SK"&essround==5]=244
          #2012: 
          LBOUND[hinctnta==3&cntry=="SK"&essround==6]=497
          UBOUND[hinctnta==3&cntry=="SK"&essround==6]=627
          #2018: 481-630
          LBOUND[hinctnta==3&cntry=="SK"&essround==9]=481
          UBOUND[hinctnta==3&cntry=="SK"&essround==9]=630
        #category 4:
          #2010: 245-294
          LBOUND[hinctnta==4&cntry=="SK"&essround==5]=245
          UBOUND[hinctnta==4&cntry=="SK"&essround==5]=294
          #2012: 497-627
          LBOUND[hinctnta==4&cntry=="SK"&essround==6]=497
          UBOUND[hinctnta==4&cntry=="SK"&essround==6]=627
          #2018: 631-800
          LBOUND[hinctnta==4&cntry=="SK"&essround==9]=631
          UBOUND[hinctnta==4&cntry=="SK"&essround==9]=800
        #category 5:
          #2010: 295-349
          LBOUND[hinctnta==5&cntry=="SK"&essround==5]=295
          UBOUND[hinctnta==5&cntry=="SK"&essround==5]=349
          #2012: 765-919
          LBOUND[hinctnta==5&cntry=="SK"&essround==6]=765
          UBOUND[hinctnta==5&cntry=="SK"&essround==6]=919
          #2018: 801-950
          LBOUND[hinctnta==5&cntry=="SK"&essround==9]=801
          UBOUND[hinctnta==5&cntry=="SK"&essround==9]=950
        #category 6:
          #2010: 350-405
          LBOUND[hinctnta==6&cntry=="SK"&essround==5]=350
          UBOUND[hinctnta==6&cntry=="SK"&essround==5]=405
          #2012: 920-1094
          LBOUND[hinctnta==6&cntry=="SK"&essround==6]=920
          UBOUND[hinctnta==6&cntry=="SK"&essround==6]=1094
          #2018: 951-1100
          LBOUND[hinctnta==6&cntry=="SK"&essround==9]=951
          UBOUND[hinctnta==6&cntry=="SK"&essround==9]=1100
        #category 7:
          #2010: 406-470
          LBOUND[hinctnta==7&cntry=="SK"&essround==5]=406
          UBOUND[hinctnta==7&cntry=="SK"&essround==5]=470
          #2012: 1095-1293
          LBOUND[hinctnta==7&cntry=="SK"&essround==6]=1095
          UBOUND[hinctnta==7&cntry=="SK"&essround==6]=1293
          #2018: 1101-1300
          LBOUND[hinctnta==7&cntry=="SK"&essround==9]=1101
          UBOUND[hinctnta==7&cntry=="SK"&essround==9]=1300
        #category 8:
          #2010: 471-543
          LBOUND[hinctnta==8&cntry=="SK"&essround==5]=471
          UBOUND[hinctnta==8&cntry=="SK"&essround==5]=543
          #2012: 1294-1552
          LBOUND[hinctnta==8&cntry=="SK"&essround==6]=1294
          UBOUND[hinctnta==8&cntry=="SK"&essround==6]=1552
          #2018: 1301-1500
          LBOUND[hinctnta==8&cntry=="SK"&essround==9]=1301
          UBOUND[hinctnta==8&cntry=="SK"&essround==9]=1500
        #category 9:
          #2010: 544-726
          LBOUND[hinctnta==9&cntry=="SK"&essround==5]=544
          UBOUND[hinctnta==9&cntry=="SK"&essround==5]=726
          #2012: 1553-2179
          LBOUND[hinctnta==9&cntry=="SK"&essround==6]=1553
          UBOUND[hinctnta==9&cntry=="SK"&essround==6]=2179
          #2018: 1501-1800
          LBOUND[hinctnta==9&cntry=="SK"&essround==9]=1501
          UBOUND[hinctnta==9&cntry=="SK"&essround==9]=1800
        #category 10:
          #2010: 727-2181
          LBOUND[hinctnta==10&cntry=="SK"&essround==5]=727
          UBOUND[hinctnta==10&cntry=="SK"&essround==5]=2181
          #2012: 2180-6540
          LBOUND[hinctnta==10&cntry=="SK"&essround==6]=2180
          UBOUND[hinctnta==10&cntry=="SK"&essround==6]=6540
          #2018: 1801-2500
          LBOUND[hinctnta==10&cntry=="SK"&essround==9]=1801
          UBOUND[hinctnta==10&cntry=="SK"&essround==9]=2500
      #SLOVENIA
        #category 1:
          #2008: 0-649
          LBOUND[hinctnta==1&cntry=="SI"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==4]=649
          #2010: 0-549
          LBOUND[hinctnta==1&cntry=="SI"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==5]=549
          #2012: 0-549
          LBOUND[hinctnta==1&cntry=="SI"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==6]=549
          #2014: 0-550
          LBOUND[hinctnta==1&cntry=="SI"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==7]=550
          #2016: 0-549
          LBOUND[hinctnta==1&cntry=="SI"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==8]=549
          #2018: 0-549
          LBOUND[hinctnta==1&cntry=="SI"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="SI"&essround==9]=549
        #category 2:
          #2008: 650-799
          LBOUND[hinctnta==2&cntry=="SI"&essround==4]=650
          UBOUND[hinctnta==2&cntry=="SI"&essround==4]=799
          #2010: 550-799
          LBOUND[hinctnta==2&cntry=="SI"&essround==5]=550
          UBOUND[hinctnta==2&cntry=="SI"&essround==5]=799
          #2012: 550-799
          LBOUND[hinctnta==2&cntry=="SI"&essround==6]=550
          UBOUND[hinctnta==2&cntry=="SI"&essround==6]=799
          #2014: 551-800
          LBOUND[hinctnta==2&cntry=="SI"&essround==7]=551
          UBOUND[hinctnta==2&cntry=="SI"&essround==7]=800
          #2016: 550-800
          LBOUND[hinctnta==2&cntry=="SI"&essround==8]=550
          UBOUND[hinctnta==2&cntry=="SI"&essround==8]=800
          #2018: 550-800
          LBOUND[hinctnta==2&cntry=="SI"&essround==9]=550
          UBOUND[hinctnta==2&cntry=="SI"&essround==9]=800
        #category 3:
          #2008: 800-949
          LBOUND[hinctnta==3&cntry=="SI"&essround==4]=800
          UBOUND[hinctnta==3&cntry=="SI"&essround==4]=949
          #2010: 800-999
          LBOUND[hinctnta==3&cntry=="SI"&essround==5]=800
          UBOUND[hinctnta==3&cntry=="SI"&essround==5]=999
          #2012: 800-999
          LBOUND[hinctnta==3&cntry=="SI"&essround==6]=800
          UBOUND[hinctnta==3&cntry=="SI"&essround==6]=999
          #2014: 801-1000
          LBOUND[hinctnta==3&cntry=="SI"&essround==7]=801
          UBOUND[hinctnta==3&cntry=="SI"&essround==7]=1000
          #2016: 801-1000
          LBOUND[hinctnta==3&cntry=="SI"&essround==8]=801
          UBOUND[hinctnta==3&cntry=="SI"&essround==8]=1000
          #2018: 801-1000
          LBOUND[hinctnta==3&cntry=="SI"&essround==9]=801
          UBOUND[hinctnta==3&cntry=="SI"&essround==9]=1000
        #category 4:
          #2008: 950-1099
          LBOUND[hinctnta==4&cntry=="SI"&essround==4]=950
          UBOUND[hinctnta==4&cntry=="SI"&essround==4]=1099
          #2010: 1000-1299
          LBOUND[hinctnta==4&cntry=="SI"&essround==5]=1000
          UBOUND[hinctnta==4&cntry=="SI"&essround==5]=1299
          #2012: 1000-1299
          LBOUND[hinctnta==4&cntry=="SI"&essround==6]=1000
          UBOUND[hinctnta==4&cntry=="SI"&essround==6]=1299
          #2014: 1001-1300
          LBOUND[hinctnta==4&cntry=="SI"&essround==7]=1001
          UBOUND[hinctnta==4&cntry=="SI"&essround==7]=1300
          #2016: 1001-1300
          LBOUND[hinctnta==4&cntry=="SI"&essround==8]=1001
          UBOUND[hinctnta==4&cntry=="SI"&essround==8]=1300
          #2018: 1001-1300
          LBOUND[hinctnta==4&cntry=="SI"&essround==9]=1001
          UBOUND[hinctnta==4&cntry=="SI"&essround==9]=1300
        #category 5:
          #2008: 1100-1299
          LBOUND[hinctnta==5&cntry=="SI"&essround==4]=1100
          UBOUND[hinctnta==5&cntry=="SI"&essround==4]=1299
          #2010: 1300-1599
          LBOUND[hinctnta==5&cntry=="SI"&essround==5]=1300
          UBOUND[hinctnta==5&cntry=="SI"&essround==5]=1599
          #2012: 1300-1599
          LBOUND[hinctnta==5&cntry=="SI"&essround==6]=1300
          UBOUND[hinctnta==5&cntry=="SI"&essround==6]=1599
          #2014: 1301-1600
          LBOUND[hinctnta==5&cntry=="SI"&essround==7]=1301
          UBOUND[hinctnta==5&cntry=="SI"&essround==7]=1600
          #2016: 1301-1600
          LBOUND[hinctnta==5&cntry=="SI"&essround==8]=1301
          UBOUND[hinctnta==5&cntry=="SI"&essround==8]=1600
          #2018: 1301-1600
          LBOUND[hinctnta==5&cntry=="SI"&essround==9]=1301
          UBOUND[hinctnta==5&cntry=="SI"&essround==9]=1600
        #category 6:
          #2008: 1300-1599
          LBOUND[hinctnta==6&cntry=="SI"&essround==4]=1300
          UBOUND[hinctnta==6&cntry=="SI"&essround==4]=1599
          #2010: 1600-1899
          LBOUND[hinctnta==6&cntry=="SI"&essround==5]=1600
          UBOUND[hinctnta==6&cntry=="SI"&essround==5]=1899
          #2012: 1600-1899
          LBOUND[hinctnta==6&cntry=="SI"&essround==6]=1600
          UBOUND[hinctnta==6&cntry=="SI"&essround==6]=1899
          #2014: 1301-1600
          LBOUND[hinctnta==6&cntry=="SI"&essround==7]=1301
          UBOUND[hinctnta==6&cntry=="SI"&essround==7]=1600
          #2016: 1601-1900
          LBOUND[hinctnta==6&cntry=="SI"&essround==8]=1601
          UBOUND[hinctnta==6&cntry=="SI"&essround==8]=1900
          #2018: 1601-1900
          LBOUND[hinctnta==6&cntry=="SI"&essround==9]=1601
          UBOUND[hinctnta==6&cntry=="SI"&essround==9]=1900
        #category 7:
          #2008: 1600-1899
          LBOUND[hinctnta==7&cntry=="SI"&essround==4]=1600
          UBOUND[hinctnta==7&cntry=="SI"&essround==4]=1899
          #2010: 1900-2199
          LBOUND[hinctnta==7&cntry=="SI"&essround==5]=1900
          UBOUND[hinctnta==7&cntry=="SI"&essround==5]=2199
          #2012: 1900-2199
          LBOUND[hinctnta==7&cntry=="SI"&essround==6]=1900
          UBOUND[hinctnta==7&cntry=="SI"&essround==6]=2199
          #2014: 1901-2200
          LBOUND[hinctnta==7&cntry=="SI"&essround==7]=1901
          UBOUND[hinctnta==7&cntry=="SI"&essround==7]=2200
          #2016: 1901-2200
          LBOUND[hinctnta==7&cntry=="SI"&essround==8]=1901
          UBOUND[hinctnta==7&cntry=="SI"&essround==8]=2200
          #2018: 1901-2200
          LBOUND[hinctnta==7&cntry=="SI"&essround==9]=1901
          UBOUND[hinctnta==7&cntry=="SI"&essround==9]=2200
        #category 8:
          #2008: 1900-2199
          LBOUND[hinctnta==8&cntry=="SI"&essround==4]=1900
          UBOUND[hinctnta==8&cntry=="SI"&essround==4]=2199
          #2010: 2200-2499
          LBOUND[hinctnta==8&cntry=="SI"&essround==5]=2200
          UBOUND[hinctnta==8&cntry=="SI"&essround==5]=2499
          #2012: 2200-2499
          LBOUND[hinctnta==8&cntry=="SI"&essround==6]=2200
          UBOUND[hinctnta==8&cntry=="SI"&essround==6]=2499
          #2014: 2201-2500
          LBOUND[hinctnta==8&cntry=="SI"&essround==7]=2201
          UBOUND[hinctnta==8&cntry=="SI"&essround==7]=2500
          #2016: 2201-2600
          LBOUND[hinctnta==8&cntry=="SI"&essround==8]=2201
          UBOUND[hinctnta==8&cntry=="SI"&essround==8]=2600
          #2018: 2201-2500
          LBOUND[hinctnta==8&cntry=="SI"&essround==9]=2201
          UBOUND[hinctnta==8&cntry=="SI"&essround==9]=2500
        #category 9:
          #2008: 2200-2999
          LBOUND[hinctnta==9&cntry=="SI"&essround==4]=2200
          UBOUND[hinctnta==9&cntry=="SI"&essround==4]=2999
          #2010: 2500-3099
          LBOUND[hinctnta==9&cntry=="SI"&essround==5]=2500
          UBOUND[hinctnta==9&cntry=="SI"&essround==5]=3099
          #2012: 2500-3099
          LBOUND[hinctnta==9&cntry=="SI"&essround==6]=2500
          UBOUND[hinctnta==9&cntry=="SI"&essround==6]=3099
          #2014: 2501-3100
          LBOUND[hinctnta==9&cntry=="SI"&essround==7]=2501
          UBOUND[hinctnta==9&cntry=="SI"&essround==7]=3100
          #2016: 2601-3200
          LBOUND[hinctnta==9&cntry=="SI"&essround==8]=2601
          UBOUND[hinctnta==9&cntry=="SI"&essround==8]=3200
          #2018: 2501-3100
          LBOUND[hinctnta==9&cntry=="SI"&essround==9]=2501
          UBOUND[hinctnta==9&cntry=="SI"&essround==9]=3100
        #category 10:
          #2008: 3000-9000
          LBOUND[hinctnta==10&cntry=="SI"&essround==4]=3000
          UBOUND[hinctnta==10&cntry=="SI"&essround==4]=9000
          #2010: 3100-9300
          LBOUND[hinctnta==10&cntry=="SI"&essround==5]=3100
          UBOUND[hinctnta==10&cntry=="SI"&essround==5]=9300
          #2012: 3100-9300
          LBOUND[hinctnta==10&cntry=="SI"&essround==6]=3100
          UBOUND[hinctnta==10&cntry=="SI"&essround==6]=9300
          #2014: 3101-9303
          LBOUND[hinctnta==10&cntry=="SI"&essround==7]=3101
          UBOUND[hinctnta==10&cntry=="SI"&essround==7]=9303
          #2016: 3201-9603
          LBOUND[hinctnta==10&cntry=="SI"&essround==8]=3201
          UBOUND[hinctnta==10&cntry=="SI"&essround==8]=9603
          #2018: 3101-9303
          LBOUND[hinctnta==10&cntry=="SI"&essround==9]=3100
          UBOUND[hinctnta==10&cntry=="SI"&essround==9]=9303
      #SPAIN
        #category 1:
          #2008: 0-699
          LBOUND[hinctnta==1&cntry=="ES"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==4]=699
          #2010: 0-699
          LBOUND[hinctnta==1&cntry=="ES"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==5]=699
          #2012: 0-760
          LBOUND[hinctnta==1&cntry=="ES"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==6]=760
          #2014: 0-760
          LBOUND[hinctnta==1&cntry=="ES"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==7]=760
          #2016: 0-779
          LBOUND[hinctnta==1&cntry=="ES"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==8]=779
          #2018: 0-750
          LBOUND[hinctnta==1&cntry=="ES"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="ES"&essround==9]=750
        #category 2:
          #2008: 700-899
          LBOUND[hinctnta==2&cntry=="ES"&essround==4]=700
          UBOUND[hinctnta==2&cntry=="ES"&essround==4]=899
          #2010: 700-899
          LBOUND[hinctnta==2&cntry=="ES"&essround==5]=700
          UBOUND[hinctnta==2&cntry=="ES"&essround==5]=899
          #2012: 761-1160
          LBOUND[hinctnta==2&cntry=="ES"&essround==6]=761
          UBOUND[hinctnta==2&cntry=="ES"&essround==6]=1160
          #2014: 761-950
          LBOUND[hinctnta==2&cntry=="ES"&essround==7]=761
          UBOUND[hinctnta==2&cntry=="ES"&essround==7]=950
          #2016: 780-999
          LBOUND[hinctnta==2&cntry=="ES"&essround==8]=780
          UBOUND[hinctnta==2&cntry=="ES"&essround==8]=999
          #2018: 751-1000
          LBOUND[hinctnta==2&cntry=="ES"&essround==9]=751
          UBOUND[hinctnta==2&cntry=="ES"&essround==9]=1000
        #category 3:
          #2008: 900-1199
          LBOUND[hinctnta==3&cntry=="ES"&essround==4]=900
          UBOUND[hinctnta==3&cntry=="ES"&essround==4]=1199
          #2010: 900-1199
          LBOUND[hinctnta==3&cntry=="ES"&essround==5]=900
          UBOUND[hinctnta==3&cntry=="ES"&essround==5]=1199
          #2012: 1161-1260
          LBOUND[hinctnta==3&cntry=="ES"&essround==6]=1161
          UBOUND[hinctnta==3&cntry=="ES"&essround==6]=1260
          #2014: 951-1200
          LBOUND[hinctnta==3&cntry=="ES"&essround==7]=951
          UBOUND[hinctnta==3&cntry=="ES"&essround==7]=1200
          #2016: 1000-1249
          LBOUND[hinctnta==3&cntry=="ES"&essround==8]=1000
          UBOUND[hinctnta==3&cntry=="ES"&essround==8]=1249
          #2018: 1001-1300
          LBOUND[hinctnta==3&cntry=="ES"&essround==9]=1001
          UBOUND[hinctnta==3&cntry=="ES"&essround==9]=1300
        #category 4:
          #2008: 1200-1399
          LBOUND[hinctnta==4&cntry=="ES"&essround==4]=1200
          UBOUND[hinctnta==4&cntry=="ES"&essround==4]=1399
          #2010: 1200-1399
          LBOUND[hinctnta==4&cntry=="ES"&essround==5]=1200
          UBOUND[hinctnta==4&cntry=="ES"&essround==5]=1399
          #2012: 1261-1640
          LBOUND[hinctnta==4&cntry=="ES"&essround==6]=1261
          UBOUND[hinctnta==4&cntry=="ES"&essround==6]=1640
          #2014: 1201-1400
          LBOUND[hinctnta==4&cntry=="ES"&essround==7]=1201
          UBOUND[hinctnta==4&cntry=="ES"&essround==7]=1400
          #2016: 1250-1499
          LBOUND[hinctnta==4&cntry=="ES"&essround==8]=1250
          UBOUND[hinctnta==4&cntry=="ES"&essround==8]=1499
          #2018: 1301-1650
          LBOUND[hinctnta==4&cntry=="ES"&essround==9]=1301
          UBOUND[hinctnta==4&cntry=="ES"&essround==9]=1650
        #category 5:
          #2008: 1400-1699
          LBOUND[hinctnta==5&cntry=="ES"&essround==4]=1400
          UBOUND[hinctnta==5&cntry=="ES"&essround==4]=1699
          #2010: 1400-1699
          LBOUND[hinctnta==5&cntry=="ES"&essround==5]=1400
          UBOUND[hinctnta==5&cntry=="ES"&essround==5]=1699
          #2012: 1641-1750
          LBOUND[hinctnta==5&cntry=="ES"&essround==6]=1641
          UBOUND[hinctnta==5&cntry=="ES"&essround==6]=1750
          #2014: 1401-1700
          LBOUND[hinctnta==5&cntry=="ES"&essround==7]=1401
          UBOUND[hinctnta==5&cntry=="ES"&essround==7]=1700
          #2016: 1500-1799
          LBOUND[hinctnta==5&cntry=="ES"&essround==8]=1500
          UBOUND[hinctnta==5&cntry=="ES"&essround==8]=1799
          #2018: 1651-2000
          LBOUND[hinctnta==5&cntry=="ES"&essround==9]=1651
          UBOUND[hinctnta==5&cntry=="ES"&essround==9]=2000
        #category 6:
          #2008: 1700-1899
          LBOUND[hinctnta==6&cntry=="ES"&essround==4]=1700
          UBOUND[hinctnta==6&cntry=="ES"&essround==4]=1899
          #2010: 1700-1899
          LBOUND[hinctnta==6&cntry=="ES"&essround==5]=1700
          UBOUND[hinctnta==6&cntry=="ES"&essround==5]=1899
          #2012: 1751-2140
          LBOUND[hinctnta==6&cntry=="ES"&essround==6]=1751
          UBOUND[hinctnta==6&cntry=="ES"&essround==6]=2140
          #2014: 1701-2100
          LBOUND[hinctnta==6&cntry=="ES"&essround==7]=1701
          UBOUND[hinctnta==6&cntry=="ES"&essround==7]=2100
          #2016: 1800-2199
          LBOUND[hinctnta==6&cntry=="ES"&essround==8]=1800
          UBOUND[hinctnta==6&cntry=="ES"&essround==8]=2199
          #2018: 2001-2350
          LBOUND[hinctnta==6&cntry=="ES"&essround==9]=2001
          UBOUND[hinctnta==6&cntry=="ES"&essround==9]=2350
        #category 7:
          #2008: 1900-2299
          LBOUND[hinctnta==7&cntry=="ES"&essround==4]=1900
          UBOUND[hinctnta==7&cntry=="ES"&essround==4]=2299
          #2010: 1900-2299
          LBOUND[hinctnta==7&cntry=="ES"&essround==5]=1900
          UBOUND[hinctnta==7&cntry=="ES"&essround==5]=2299
          #2012: 2141-2400
          LBOUND[hinctnta==7&cntry=="ES"&essround==6]=2141
          UBOUND[hinctnta==7&cntry=="ES"&essround==6]=2400
          #2014: 2101-2300
          LBOUND[hinctnta==7&cntry=="ES"&essround==7]=2101
          UBOUND[hinctnta==7&cntry=="ES"&essround==7]=2300
          #2016: 2200-2499
          LBOUND[hinctnta==7&cntry=="ES"&essround==8]=2200
          UBOUND[hinctnta==7&cntry=="ES"&essround==8]=2499
          #2018: 2351-2800
          LBOUND[hinctnta==7&cntry=="ES"&essround==9]=2351
          UBOUND[hinctnta==7&cntry=="ES"&essround==9]=2800
        #category 8:
          #2008: 2300-2699
          LBOUND[hinctnta==8&cntry=="ES"&essround==4]=2300
          UBOUND[hinctnta==8&cntry=="ES"&essround==4]=2699
          #2010: 2300-2699
          LBOUND[hinctnta==8&cntry=="ES"&essround==5]=2300
          UBOUND[hinctnta==8&cntry=="ES"&essround==5]=2699
          #2012: 2401-2760
          LBOUND[hinctnta==8&cntry=="ES"&essround==6]=2401
          UBOUND[hinctnta==8&cntry=="ES"&essround==6]=2760
          #2014: 2301-2750
          LBOUND[hinctnta==8&cntry=="ES"&essround==7]=2301
          UBOUND[hinctnta==8&cntry=="ES"&essround==7]=2750
          #2016: 2500-2849
          LBOUND[hinctnta==8&cntry=="ES"&essround==8]=2500
          UBOUND[hinctnta==8&cntry=="ES"&essround==8]=2849
          #2018: 2801-3500
          LBOUND[hinctnta==8&cntry=="ES"&essround==9]=2801
          UBOUND[hinctnta==8&cntry=="ES"&essround==9]=3500
        #category 9:
          #2008: 2700-3499
          LBOUND[hinctnta==9&cntry=="ES"&essround==4]=2700
          UBOUND[hinctnta==9&cntry=="ES"&essround==4]=3499
          #2010: 2700-3499
          LBOUND[hinctnta==9&cntry=="ES"&essround==5]=2700
          UBOUND[hinctnta==9&cntry=="ES"&essround==5]=3499
          #2012: 2761-3700
          LBOUND[hinctnta==9&cntry=="ES"&essround==6]=2761
          UBOUND[hinctnta==9&cntry=="ES"&essround==6]=3700
          #2014: 2751-3500
          LBOUND[hinctnta==9&cntry=="ES"&essround==7]=2751
          UBOUND[hinctnta==9&cntry=="ES"&essround==7]=3500
          #2016: 2850-3699
          LBOUND[hinctnta==9&cntry=="ES"&essround==8]=2850
          UBOUND[hinctnta==9&cntry=="ES"&essround==8]=3699
          #2018: 3501-4600
          LBOUND[hinctnta==9&cntry=="ES"&essround==9]=3501
          UBOUND[hinctnta==9&cntry=="ES"&essround==9]=4600
        #category 10:
          #2008: 3500-10500
          LBOUND[hinctnta==10&cntry=="ES"&essround==4]=3500
          UBOUND[hinctnta==10&cntry=="ES"&essround==4]=10500
          #2010: 3500-10500
          LBOUND[hinctnta==10&cntry=="ES"&essround==5]=3500
          UBOUND[hinctnta==10&cntry=="ES"&essround==5]=10500
          #2012: 3701-11103
          LBOUND[hinctnta==10&cntry=="ES"&essround==6]=3701
          UBOUND[hinctnta==10&cntry=="ES"&essround==6]=11103
          #2014: 3501-10503
          LBOUND[hinctnta==10&cntry=="ES"&essround==7]=3501
          UBOUND[hinctnta==10&cntry=="ES"&essround==7]=10503
          #2016: 3700-11100
          LBOUND[hinctnta==10&cntry=="ES"&essround==8]=3700
          UBOUND[hinctnta==10&cntry=="ES"&essround==8]=11100
          #2018: 4601-13803
          LBOUND[hinctnta==10&cntry=="ES"&essround==9]=4601
          UBOUND[hinctnta==10&cntry=="ES"&essround==9]=13803
      #SWEDEN
        #category 1:
          #2008: 0-810
          LBOUND[hinctnta==1&cntry=="SE"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==4]=810
          #2010: 0-1236
          LBOUND[hinctnta==1&cntry=="SE"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==5]=1236
          #2012: 0-1287
          LBOUND[hinctnta==1&cntry=="SE"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==6]=1287
          #2014: 0-1210
          LBOUND[hinctnta==1&cntry=="SE"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==7]=1210
          #2016: 0-1200
          LBOUND[hinctnta==1&cntry=="SE"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==8]=1200
          #2018: 0-1180
          LBOUND[hinctnta==1&cntry=="SE"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="SE"&essround==9]=1180
        #category 2:
          #2008: 811-1020
          LBOUND[hinctnta==2&cntry=="SE"&essround==4]=811
          UBOUND[hinctnta==2&cntry=="SE"&essround==4]=1020
          #2010: 1237-1505
          LBOUND[hinctnta==2&cntry=="SE"&essround==5]=1237
          UBOUND[hinctnta==2&cntry=="SE"&essround==5]=1505
          #2012: 1288-1755
          LBOUND[hinctnta==2&cntry=="SE"&essround==6]=1288
          UBOUND[hinctnta==2&cntry=="SE"&essround==6]=1755
          #2014: 1211-1650
          LBOUND[hinctnta==2&cntry=="SE"&essround==7]=1211
          UBOUND[hinctnta==2&cntry=="SE"&essround==7]=1650
          #2016: 1201-1600
          LBOUND[hinctnta==2&cntry=="SE"&essround==8]=1201
          UBOUND[hinctnta==2&cntry=="SE"&essround==8]=1600
          #2018: 1181-1475
          LBOUND[hinctnta==2&cntry=="SE"&essround==9]=1181
          UBOUND[hinctnta==2&cntry=="SE"&essround==9]=1475
        #category 3:
          #2008: 1021-1240
          LBOUND[hinctnta==3&cntry=="SE"&essround==4]=1021
          UBOUND[hinctnta==3&cntry=="SE"&essround==4]=1240
          #2010: 1506-1828
          LBOUND[hinctnta==3&cntry=="SE"&essround==5]=1506
          UBOUND[hinctnta==3&cntry=="SE"&essround==5]=1828
          #2012: 1756-2223
          LBOUND[hinctnta==3&cntry=="SE"&essround==6]=1756
          UBOUND[hinctnta==3&cntry=="SE"&essround==6]=2223
          #2014: 1651-2090
          LBOUND[hinctnta==3&cntry=="SE"&essround==7]=1651
          UBOUND[hinctnta==3&cntry=="SE"&essround==7]=2090
          #2016: 1601-2000
          LBOUND[hinctnta==3&cntry=="SE"&essround==8]=1601
          UBOUND[hinctnta==3&cntry=="SE"&essround==8]=2000
          #2018: 1476-2065
          LBOUND[hinctnta==3&cntry=="SE"&essround==9]=1476
          UBOUND[hinctnta==3&cntry=="SE"&essround==9]=2065
        #category 4:
          #2008: 1241-1500
          LBOUND[hinctnta==4&cntry=="SE"&essround==4]=1241
          UBOUND[hinctnta==4&cntry=="SE"&essround==4]=1500
          #2010: 1829-2150
          LBOUND[hinctnta==4&cntry=="SE"&essround==5]=1829
          UBOUND[hinctnta==4&cntry=="SE"&essround==5]=2150
          #2012: 2224-2574
          LBOUND[hinctnta==4&cntry=="SE"&essround==6]=2224
          UBOUND[hinctnta==4&cntry=="SE"&essround==6]=2574
          #2014: 2091-2420
          LBOUND[hinctnta==4&cntry=="SE"&essround==7]=2091
          UBOUND[hinctnta==4&cntry=="SE"&essround==7]=2420
          #2016: 2001-2400
          LBOUND[hinctnta==4&cntry=="SE"&essround==8]=2001
          UBOUND[hinctnta==4&cntry=="SE"&essround==8]=2400
          #2018: 2066-2458
          LBOUND[hinctnta==4&cntry=="SE"&essround==9]=2066
          UBOUND[hinctnta==4&cntry=="SE"&essround==9]=2458
        #category 5:
          #2008: 1501-1770
          LBOUND[hinctnta==5&cntry=="SE"&essround==4]=1501
          UBOUND[hinctnta==5&cntry=="SE"&essround==4]=1770
          #2010: 2151-2581
          LBOUND[hinctnta==5&cntry=="SE"&essround==5]=2151
          UBOUND[hinctnta==5&cntry=="SE"&essround==5]=2581
          #2012: 2575-2925
          LBOUND[hinctnta==5&cntry=="SE"&essround==6]=2575
          UBOUND[hinctnta==5&cntry=="SE"&essround==6]=2925
          #2014: 2421-2750
          LBOUND[hinctnta==5&cntry=="SE"&essround==7]=2421
          UBOUND[hinctnta==5&cntry=="SE"&essround==7]=2750
          #2016: 2401-2700
          LBOUND[hinctnta==5&cntry=="SE"&essround==8]=2401
          UBOUND[hinctnta==5&cntry=="SE"&essround==8]=2700
          #2018: 2459-2950
          LBOUND[hinctnta==5&cntry=="SE"&essround==9]=2459
          UBOUND[hinctnta==5&cntry=="SE"&essround==9]=2950
        #category 6:
          #2008: 1771-2100
          LBOUND[hinctnta==6&cntry=="SE"&essround==4]=1711
          UBOUND[hinctnta==6&cntry=="SE"&essround==4]=2100
          #2010: 2582-3011
          LBOUND[hinctnta==6&cntry=="SE"&essround==5]=2582
          UBOUND[hinctnta==6&cntry=="SE"&essround==5]=3011
          #2012: 2926-3393
          LBOUND[hinctnta==6&cntry=="SE"&essround==6]=2926
          UBOUND[hinctnta==6&cntry=="SE"&essround==6]=3393
          #2014: 2751-3190
          LBOUND[hinctnta==6&cntry=="SE"&essround==7]=2751
          UBOUND[hinctnta==6&cntry=="SE"&essround==7]=3190
          #2016: 2701-3100
          LBOUND[hinctnta==6&cntry=="SE"&essround==8]=2701
          UBOUND[hinctnta==6&cntry=="SE"&essround==8]=3100
          #2018: 2951-3736
          LBOUND[hinctnta==6&cntry=="SE"&essround==9]=2951
          UBOUND[hinctnta==6&cntry=="SE"&essround==9]=3736
        #category 7:
          #2008: 2101-2630
          LBOUND[hinctnta==7&cntry=="SE"&essround==4]=2101
          UBOUND[hinctnta==7&cntry=="SE"&essround==4]=2630
          #2010: 3012-3441
          LBOUND[hinctnta==7&cntry=="SE"&essround==5]=3012
          UBOUND[hinctnta==7&cntry=="SE"&essround==5]=3441
          #2012: 3394-3861
          LBOUND[hinctnta==7&cntry=="SE"&essround==6]=3394
          UBOUND[hinctnta==7&cntry=="SE"&essround==6]=3861
          #2014: 3191-3630
          LBOUND[hinctnta==7&cntry=="SE"&essround==7]=3191
          UBOUND[hinctnta==7&cntry=="SE"&essround==7]=3630
          #2016: 3101-3600
          LBOUND[hinctnta==7&cntry=="SE"&essround==8]=3101
          UBOUND[hinctnta==7&cntry=="SE"&essround==8]=3600
          #2018: 3737-4523
          LBOUND[hinctnta==7&cntry=="SE"&essround==9]=3737
          UBOUND[hinctnta==7&cntry=="SE"&essround==9]=4523
        #category 8:
          #2008: 2631-3310
          LBOUND[hinctnta==8&cntry=="SE"&essround==4]=2631
          UBOUND[hinctnta==8&cntry=="SE"&essround==4]=3310
          #2010: 3442-3871
          LBOUND[hinctnta==8&cntry=="SE"&essround==5]=3442
          UBOUND[hinctnta==8&cntry=="SE"&essround==5]=3871
          #2012: 3862-4680
          LBOUND[hinctnta==8&cntry=="SE"&essround==6]=3862
          UBOUND[hinctnta==8&cntry=="SE"&essround==6]=4680
          #2014: 3631-4400
          LBOUND[hinctnta==8&cntry=="SE"&essround==7]=3631
          UBOUND[hinctnta==8&cntry=="SE"&essround==7]=4400
          #2016: 3601-4300
          LBOUND[hinctnta==8&cntry=="SE"&essround==8]=3601
          UBOUND[hinctnta==8&cntry=="SE"&essround==8]=4300
          #2018: 4524-5408
          LBOUND[hinctnta==8&cntry=="SE"&essround==9]=4524
          UBOUND[hinctnta==8&cntry=="SE"&essround==9]=5408
        #category 9:
          #2008: 3311-4120
          LBOUND[hinctnta==9&cntry=="SE"&essround==4]=3311
          UBOUND[hinctnta==9&cntry=="SE"&essround==4]=4120
          #2010: 3872-4731
          LBOUND[hinctnta==9&cntry=="SE"&essround==5]=3872
          UBOUND[hinctnta==9&cntry=="SE"&essround==5]=4731
          #2012: 4680-5733
          LBOUND[hinctnta==9&cntry=="SE"&essround==6]=4680
          UBOUND[hinctnta==9&cntry=="SE"&essround==6]=5733
          #2014: 4401-5390
          LBOUND[hinctnta==9&cntry=="SE"&essround==7]=4401
          UBOUND[hinctnta==9&cntry=="SE"&essround==7]=5390
          #2016: 4301-5300
          LBOUND[hinctnta==9&cntry=="SE"&essround==8]=4301
          UBOUND[hinctnta==9&cntry=="SE"&essround==8]=5300
          #2018: 5409-6883
          LBOUND[hinctnta==9&cntry=="SE"&essround==9]=5409
          UBOUND[hinctnta==9&cntry=="SE"&essround==9]=6883
        #category 10:
          #2008: 4121-12363
          LBOUND[hinctnta==10&cntry=="SE"&essround==4]=4121
          UBOUND[hinctnta==10&cntry=="SE"&essround==4]=12363
          #2010: 4731-14193
          LBOUND[hinctnta==10&cntry=="SE"&essround==5]=4731
          UBOUND[hinctnta==10&cntry=="SE"&essround==5]=14193
          #2012: 5734-17202
          LBOUND[hinctnta==10&cntry=="SE"&essround==6]=5734
          UBOUND[hinctnta==10&cntry=="SE"&essround==6]=17202
          #2014: 5391-16173
          LBOUND[hinctnta==10&cntry=="SE"&essround==7]=5391
          UBOUND[hinctnta==10&cntry=="SE"&essround==7]=16173
          #2016: 5301-15903
          LBOUND[hinctnta==10&cntry=="SE"&essround==8]=5301
          UBOUND[hinctnta==10&cntry=="SE"&essround==8]=15903
          #2018: 6884-20652
          LBOUND[hinctnta==10&cntry=="SE"&essround==9]=6884
          UBOUND[hinctnta==10&cntry=="SE"&essround==9]=20652
      #SWITZERLAND
        #category 1:
          #2008: 0-1627
          LBOUND[hinctnta==1&cntry=="CH"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==4]=1627
          #2010: 0-2062
          LBOUND[hinctnta==1&cntry=="CH"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==5]=2062
          #2012: 0-2372
          LBOUND[hinctnta==1&cntry=="CH"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==6]=2372
          #2014: 0-2415
          LBOUND[hinctnta==1&cntry=="CH"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==7]=2415
          #2016: 0-2518
          LBOUND[hinctnta==1&cntry=="CH"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==8]=2518
          #2018: 0-2851
          LBOUND[hinctnta==1&cntry=="CH"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="CH"&essround==9]=2851
        #category 2:
          #2008: 1628-2325
          LBOUND[hinctnta==2&cntry=="CH"&essround==4]=1628
          UBOUND[hinctnta==2&cntry=="CH"&essround==4]=2325
          #2010: 2063-2887
          LBOUND[hinctnta==2&cntry=="CH"&essround==5]=2063
          UBOUND[hinctnta==2&cntry=="CH"&essround==5]=2887
          #2012: 2373-3403
          LBOUND[hinctnta==2&cntry=="CH"&essround==6]=2373
          UBOUND[hinctnta==2&cntry=="CH"&essround==6]=3403
          #2014: 2416-3381
          LBOUND[hinctnta==2&cntry=="CH"&essround==7]=2416
          UBOUND[hinctnta==2&cntry=="CH"&essround==7]=3381
          #2016: 2519-3739
          LBOUND[hinctnta==2&cntry=="CH"&essround==8]=2519
          UBOUND[hinctnta==2&cntry=="CH"&essround==8]=3739
          #2018: 2852-3801
          LBOUND[hinctnta==2&cntry=="CH"&essround==9]=2852
          UBOUND[hinctnta==2&cntry=="CH"&essround==9]=3801
        #category 3:
          #2008: 2326-2867
          LBOUND[hinctnta==3&cntry=="CH"&essround==4]=2326
          UBOUND[hinctnta==3&cntry=="CH"&essround==4]=2867
          #2010: 2888-3584
          LBOUND[hinctnta==3&cntry=="CH"&essround==5]=2888
          UBOUND[hinctnta==3&cntry=="CH"&essround==5]=3584
          #2012: 3404-4228
          LBOUND[hinctnta==3&cntry=="CH"&essround==6]=3404
          UBOUND[hinctnta==3&cntry=="CH"&essround==6]=4228
          #2014: 3382-4278
          LBOUND[hinctnta==3&cntry=="CH"&essround==7]=3382
          UBOUND[hinctnta==3&cntry=="CH"&essround==7]=4278
          #2016: 3740-4731
          LBOUND[hinctnta==3&cntry=="CH"&essround==8]=3740
          UBOUND[hinctnta==3&cntry=="CH"&essround==8]=4731
          #2018: 3802-4678
          LBOUND[hinctnta==3&cntry=="CH"&essround==9]=3802
          UBOUND[hinctnta==3&cntry=="CH"&essround==9]=4678
        #category 4:
          #2008: 2868-3358
          LBOUND[hinctnta==4&cntry=="CH"&essround==4]=2868
          UBOUND[hinctnta==4&cntry=="CH"&essround==4]=3358
          #2010: 3585-4314
          LBOUND[hinctnta==4&cntry=="CH"&essround==5]=3585
          UBOUND[hinctnta==4&cntry=="CH"&essround==5]=4314
          #2012: 4229-5156
          LBOUND[hinctnta==4&cntry=="CH"&essround==6]=4229
          UBOUND[hinctnta==4&cntry=="CH"&essround==6]=5156
          #2014: 4279-5175
          LBOUND[hinctnta==4&cntry=="CH"&essround==7]=4279
          UBOUND[hinctnta==4&cntry=="CH"&essround==7]=5175
          #2016: 4732-5723
          LBOUND[hinctnta==4&cntry=="CH"&essround==8]=4732
          UBOUND[hinctnta==4&cntry=="CH"&essround==8]=5723
          #2018: 4679-5629
          LBOUND[hinctnta==4&cntry=="CH"&essround==9]=4679
          UBOUND[hinctnta==4&cntry=="CH"&essround==9]=5629
        #category 5:
          #2008: 3359-3901
          LBOUND[hinctnta==5&cntry=="CH"&essround==4]=3359
          UBOUND[hinctnta==5&cntry=="CH"&essround==4]=3901
          #2010: 4315-5044
          LBOUND[hinctnta==5&cntry=="CH"&essround==5]=4315
          UBOUND[hinctnta==5&cntry=="CH"&essround==5]=5044
          #2012: 5157-6050
          LBOUND[hinctnta==5&cntry=="CH"&essround==6]=5157
          UBOUND[hinctnta==5&cntry=="CH"&essround==6]=6050
          #2014: 5176-6072
          LBOUND[hinctnta==5&cntry=="CH"&essround==7]=5176
          UBOUND[hinctnta==5&cntry=="CH"&essround==7]=6072
          #2016: 5724-6714
          LBOUND[hinctnta==5&cntry=="CH"&essround==8]=5724
          UBOUND[hinctnta==5&cntry=="CH"&essround==8]=6714
          #2018: 5630-6579
          LBOUND[hinctnta==5&cntry=="CH"&essround==9]=5630
          UBOUND[hinctnta==5&cntry=="CH"&essround==9]=6579
        #category 6:
          #2008: 3902-4521
          LBOUND[hinctnta==6&cntry=="CH"&essround==4]=3902
          UBOUND[hinctnta==6&cntry=="CH"&essround==4]=4521
          #2010: 5045-5805
          LBOUND[hinctnta==6&cntry=="CH"&essround==5]=5045
          UBOUND[hinctnta==6&cntry=="CH"&essround==5]=5805
          #2012: 6051-7219
          LBOUND[hinctnta==6&cntry=="CH"&essround==6]=6051
          UBOUND[hinctnta==6&cntry=="CH"&essround==6]=7219
          #2014: 6073-7107
          LBOUND[hinctnta==6&cntry=="CH"&essround==7]=6073
          UBOUND[hinctnta==6&cntry=="CH"&essround==7]=7107
          #2016: 6715-7935
          LBOUND[hinctnta==6&cntry=="CH"&essround==8]=6715
          UBOUND[hinctnta==6&cntry=="CH"&essround==8]=7935
          #2018: 6580-7602
          LBOUND[hinctnta==6&cntry=="CH"&essround==9]=6580
          UBOUND[hinctnta==6&cntry=="CH"&essround==9]=7602
        #category 7:
          #2008: 4522-5270
          LBOUND[hinctnta==7&cntry=="CH"&essround==4]=4522
          UBOUND[hinctnta==7&cntry=="CH"&essround==4]=5270
          #2010: 5906-6725
          LBOUND[hinctnta==7&cntry=="CH"&essround==5]=5906
          UBOUND[hinctnta==7&cntry=="CH"&essround==5]=6725
          #2012: 7220-8422
          LBOUND[hinctnta==7&cntry=="CH"&essround==6]=7220
          UBOUND[hinctnta==7&cntry=="CH"&essround==6]=8422
          #2014: 7108-8418
          LBOUND[hinctnta==7&cntry=="CH"&essround==7]=7108
          UBOUND[hinctnta==7&cntry=="CH"&essround==7]=8418
          #2016: 7936-9309
          LBOUND[hinctnta==7&cntry=="CH"&essround==8]=7936
          UBOUND[hinctnta==7&cntry=="CH"&essround==8]=9309
          #2018: 7603-8845
          LBOUND[hinctnta==7&cntry=="CH"&essround==9]=7603
          UBOUND[hinctnta==7&cntry=="CH"&essround==9]=8845
        #category 8:
          #2008: 5271-6303
          LBOUND[hinctnta==8&cntry=="CH"&essround==4]=5271
          UBOUND[hinctnta==8&cntry=="CH"&essround==4]=6303
          #2010: 6726-8089
          LBOUND[hinctnta==8&cntry=="CH"&essround==5]=6726
          UBOUND[hinctnta==8&cntry=="CH"&essround==5]=8089
          #2012: 8423-9969
          LBOUND[hinctnta==8&cntry=="CH"&essround==6]=8423
          UBOUND[hinctnta==8&cntry=="CH"&essround==6]=9969
          #2014: 8419-10074
          LBOUND[hinctnta==8&cntry=="CH"&essround==7]=8419
          UBOUND[hinctnta==8&cntry=="CH"&essround==7]=10074
          #2016: 9310-11140
          LBOUND[hinctnta==8&cntry=="CH"&essround==8]=9310
          UBOUND[hinctnta==8&cntry=="CH"&essround==8]=11140
          #2018: 8846-10526
          LBOUND[hinctnta==8&cntry=="CH"&essround==9]=8846
          UBOUND[hinctnta==8&cntry=="CH"&essround==9]=10526
        #category 9:
          #2008: 6304-8086
          LBOUND[hinctnta==9&cntry=="CH"&essround==4]=6304
          UBOUND[hinctnta==9&cntry=="CH"&essround==4]=8086
          #2010: 8090-10500
          LBOUND[hinctnta==9&cntry=="CH"&essround==5]=8090
          UBOUND[hinctnta==9&cntry=="CH"&essround==5]=10500
          #2012: 9970-12684
          LBOUND[hinctnta==9&cntry=="CH"&essround==6]=9970
          UBOUND[hinctnta==9&cntry=="CH"&essround==6]=12684
          #2014: 10075-13110
          LBOUND[hinctnta==9&cntry=="CH"&essround==7]=10075
          UBOUND[hinctnta==9&cntry=="CH"&essround==7]=13110
          #2016: 11141-14268
          LBOUND[hinctnta==9&cntry=="CH"&essround==8]=11141
          UBOUND[hinctnta==9&cntry=="CH"&essround==8]=14268
          #2018: 10527-13450
          LBOUND[hinctnta==9&cntry=="CH"&essround==9]=10527
          UBOUND[hinctnta==9&cntry=="CH"&essround==9]=13450
        #category 10:
          #2008: 8087-24261
          LBOUND[hinctnta==10&cntry=="CH"&essround==4]=8087
          UBOUND[hinctnta==10&cntry=="CH"&essround==4]=24261
          #2010: 10501-31503
          LBOUND[hinctnta==10&cntry=="CH"&essround==5]=10501
          UBOUND[hinctnta==10&cntry=="CH"&essround==5]=31503
          #2012: 12685-38055
          LBOUND[hinctnta==10&cntry=="CH"&essround==6]=12685
          UBOUND[hinctnta==10&cntry=="CH"&essround==6]=38055
          #2014: 13111-39333
          LBOUND[hinctnta==10&cntry=="CH"&essround==7]=13111
          UBOUND[hinctnta==10&cntry=="CH"&essround==7]=39333
          #2016: 14269-42807
          LBOUND[hinctnta==10&cntry=="CH"&essround==8]=14269
          UBOUND[hinctnta==10&cntry=="CH"&essround==8]=42807
          #2018: 13451-40353
          LBOUND[hinctnta==10&cntry=="CH"&essround==9]=13451
          UBOUND[hinctnta==10&cntry=="CH"&essround==9]=40353
      #UKRAINE
        #category 1:
          #2008: 0-72
          LBOUND[hinctnta==1&cntry=="UA"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="UA"&essround==4]=72
          #2010: 0-78
          LBOUND[hinctnta==1&cntry=="UA"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="UA"&essround==5]=78
          #2012: 0-94
          LBOUND[hinctnta==1&cntry=="UA"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="UA"&essround==6]=94
        #category 2:
          #2008: 73-115
          LBOUND[hinctnta==2&cntry=="UA"&essround==4]=73
          UBOUND[hinctnta==2&cntry=="UA"&essround==4]=115
          #2010: 79-121
          LBOUND[hinctnta==2&cntry=="UA"&essround==5]=79
          UBOUND[hinctnta==2&cntry=="UA"&essround==5]=121
          #2012: 95-160
          LBOUND[hinctnta==2&cntry=="UA"&essround==6]=95
          UBOUND[hinctnta==2&cntry=="UA"&essround==6]=160
        #category 3:
          #2008: 116-144
          LBOUND[hinctnta==3&cntry=="UA"&essround==4]=116
          UBOUND[hinctnta==3&cntry=="UA"&essround==4]=144
          #2010: 122-156
          LBOUND[hinctnta==3&cntry=="UA"&essround==5]=122
          UBOUND[hinctnta==3&cntry=="UA"&essround==5]=156
          #2012: 161-188
          LBOUND[hinctnta==3&cntry=="UA"&essround==6]=161
          UBOUND[hinctnta==3&cntry=="UA"&essround==6]=188
        #category 4:
          #2008: 145-173
          LBOUND[hinctnta==4&cntry=="UA"&essround==4]=145
          UBOUND[hinctnta==4&cntry=="UA"&essround==4]=173
          #2010: 157-182
          LBOUND[hinctnta==4&cntry=="UA"&essround==5]=157
          UBOUND[hinctnta==4&cntry=="UA"&essround==5]=182
          #2012: 189-244
          LBOUND[hinctnta==4&cntry=="UA"&essround==6]=189
          UBOUND[hinctnta==4&cntry=="UA"&essround==6]=244
        #category 5:
          #2008: 174-192
          LBOUND[hinctnta==5&cntry=="UA"&essround==4]=174
          UBOUND[hinctnta==5&cntry=="UA"&essround==4]=192
          #2010: 183-216
          LBOUND[hinctnta==5&cntry=="UA"&essround==5]=183
          UBOUND[hinctnta==5&cntry=="UA"&essround==5]=216
          #2012: 245-282
          LBOUND[hinctnta==5&cntry=="UA"&essround==6]=245
          UBOUND[hinctnta==5&cntry=="UA"&essround==6]=282
        #category 6:
          #2008: 193-230
          LBOUND[hinctnta==6&cntry=="UA"&essround==4]=193
          UBOUND[hinctnta==6&cntry=="UA"&essround==4]=230
          #2010: 217-260
          LBOUND[hinctnta==6&cntry=="UA"&essround==5]=217
          UBOUND[hinctnta==6&cntry=="UA"&essround==5]=260
          #2012: 283-357
          LBOUND[hinctnta==6&cntry=="UA"&essround==6]=283
          UBOUND[hinctnta==6&cntry=="UA"&essround==6]=357
        #category 7:
          #2008: 231-288
          LBOUND[hinctnta==7&cntry=="UA"&essround==4]=231
          UBOUND[hinctnta==7&cntry=="UA"&essround==4]=288
          #2010: 261-312
          LBOUND[hinctnta==7&cntry=="UA"&essround==5]=261
          UBOUND[hinctnta==7&cntry=="UA"&essround==5]=312
          #2012: 358-423
          LBOUND[hinctnta==7&cntry=="UA"&essround==6]=358
          UBOUND[hinctnta==7&cntry=="UA"&essround==6]=423
        #category 8:
          #2008: 289-346
          LBOUND[hinctnta==8&cntry=="UA"&essround==4]=289
          UBOUND[hinctnta==8&cntry=="UA"&essround==4]=346
          #2010: 313-390
          LBOUND[hinctnta==8&cntry=="UA"&essround==5]=313
          UBOUND[hinctnta==8&cntry=="UA"&essround==5]=390
          #2012: 424-563
          LBOUND[hinctnta==8&cntry=="UA"&essround==6]=424
          UBOUND[hinctnta==8&cntry=="UA"&essround==6]=563
        #category 9:
          #2008: 347-461
          LBOUND[hinctnta==9&cntry=="UA"&essround==4]=347
          UBOUND[hinctnta==9&cntry=="UA"&essround==4]=461
          #2010: 391-519
          LBOUND[hinctnta==9&cntry=="UA"&essround==5]=391
          UBOUND[hinctnta==9&cntry=="UA"&essround==5]=519
          #2012: 564-751
          LBOUND[hinctnta==9&cntry=="UA"&essround==6]=564
          UBOUND[hinctnta==9&cntry=="UA"&essround==6]=751
        #category 10:
          #2008: 462-1386
          LBOUND[hinctnta==10&cntry=="UA"&essround==4]=462
          UBOUND[hinctnta==10&cntry=="UA"&essround==4]=1386
          #2010: 520-1560
          LBOUND[hinctnta==10&cntry=="UA"&essround==5]=520
          UBOUND[hinctnta==10&cntry=="UA"&essround==5]=1560
          #2012: 752-2256
          LBOUND[hinctnta==10&cntry=="UA"&essround==6]=752
          UBOUND[hinctnta==10&cntry=="UA"&essround==6]=2256
      #UNITED KINGDOM
        #category 1:
          #2008: 0-813
          LBOUND[hinctnta==1&cntry=="GB"&essround==4]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==4]=813
          #2010: 0-841
          LBOUND[hinctnta==1&cntry=="GB"&essround==5]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==5]=841
          #2012: 0-759
          LBOUND[hinctnta==1&cntry=="GB"&essround==6]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==6]=759
          #2014: 0-624
          LBOUND[hinctnta==1&cntry=="GB"&essround==7]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==7]=624
          #2016: 0-1038
          LBOUND[hinctnta==1&cntry=="GB"&essround==8]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==8]=1038
          #2018: 0-1026
          LBOUND[hinctnta==1&cntry=="GB"&essround==9]=0
          UBOUND[hinctnta==1&cntry=="GB"&essround==9]=1026
        #category 2:
          #2008: 814-1091
          LBOUND[hinctnta==2&cntry=="GB"&essround==4]=814
          UBOUND[hinctnta==2&cntry=="GB"&essround==4]=1091
          #2010: 842-1122
          LBOUND[hinctnta==2&cntry=="GB"&essround==5]=842
          UBOUND[hinctnta==2&cntry=="GB"&essround==5]=1122
          #2012: 760-999
          LBOUND[hinctnta==2&cntry=="GB"&essround==6]=760
          UBOUND[hinctnta==2&cntry=="GB"&essround==6]=999
          #2014: 625-837
          LBOUND[hinctnta==2&cntry=="GB"&essround==7]=625
          UBOUND[hinctnta==2&cntry=="GB"&essround==7]=837
          #2016: 1039-1392
          LBOUND[hinctnta==2&cntry=="GB"&essround==8]=1039
          UBOUND[hinctnta==2&cntry=="GB"&essround==8]=1392
          #2018: 1027-1380
          LBOUND[hinctnta==2&cntry=="GB"&essround==9]=1027
          UBOUND[hinctnta==2&cntry=="GB"&essround==9]=1380
        #category 3:
          #2008: 1092-1364
          LBOUND[hinctnta==3&cntry=="GB"&essround==4]=1092
          UBOUND[hinctnta==3&cntry=="GB"&essround==4]=1364
          #2010: 1123-1403
          LBOUND[hinctnta==3&cntry=="GB"&essround==5]=1123
          UBOUND[hinctnta==3&cntry=="GB"&essround==5]=1403
          #2012: 1000-1239
          LBOUND[hinctnta==3&cntry=="GB"&essround==6]=1000
          UBOUND[hinctnta==3&cntry=="GB"&essround==6]=1239
          #2014: 838-1044
          LBOUND[hinctnta==3&cntry=="GB"&essround==7]=838
          UBOUND[hinctnta==3&cntry=="GB"&essround==7]=1044
          #2016: 1393-1727
          LBOUND[hinctnta==3&cntry=="GB"&essround==8]=1393
          UBOUND[hinctnta==3&cntry=="GB"&essround==8]=1727
          #2018: 1381-1725
          LBOUND[hinctnta==3&cntry=="GB"&essround==9]=1381
          UBOUND[hinctnta==3&cntry=="GB"&essround==9]=1725
        #category 4:
          #2008: 1366-1649
          LBOUND[hinctnta==4&cntry=="GB"&essround==4]=1366
          UBOUND[hinctnta==4&cntry=="GB"&essround==4]=1649
          #2010: 1404-1684
          LBOUND[hinctnta==4&cntry=="GB"&essround==5]=1404
          UBOUND[hinctnta==4&cntry=="GB"&essround==5]=1684
          #2012: 1240-1519
          LBOUND[hinctnta==4&cntry=="GB"&essround==6]=1240
          UBOUND[hinctnta==4&cntry=="GB"&essround==6]=1519
          #2014: 1045-1249
          LBOUND[hinctnta==4&cntry=="GB"&essround==7]=1045
          UBOUND[hinctnta==4&cntry=="GB"&essround==7]=1249
          #2016: 1728-2086
          LBOUND[hinctnta==4&cntry=="GB"&essround==8]=1728
          UBOUND[hinctnta==4&cntry=="GB"&essround==8]=2086
          #2018: 1726-2101
          LBOUND[hinctnta==4&cntry=="GB"&essround==9]=1726
          UBOUND[hinctnta==4&cntry=="GB"&essround==9]=2101
        #category 5:
          #2008: 1650-2002
          LBOUND[hinctnta==5&cntry=="GB"&essround==4]=1650
          UBOUND[hinctnta==5&cntry=="GB"&essround==4]=2002
          #2010: 1685-2058
          LBOUND[hinctnta==5&cntry=="GB"&essround==5]=1685
          UBOUND[hinctnta==5&cntry=="GB"&essround==5]=2058
          #2012: 1520-1799
          LBOUND[hinctnta==5&cntry=="GB"&essround==6]=1520
          UBOUND[hinctnta==5&cntry=="GB"&essround==6]=1799
          #2014: 1250-1498
          LBOUND[hinctnta==5&cntry=="GB"&essround==7]=1250
          UBOUND[hinctnta==5&cntry=="GB"&essround==7]=1498
          #2016: 2087-2487
          LBOUND[hinctnta==5&cntry=="GB"&essround==8]=2087
          UBOUND[hinctnta==5&cntry=="GB"&essround==8]=2487
          #2018: 2102-2518
          LBOUND[hinctnta==5&cntry=="GB"&essround==9]=2102
          UBOUND[hinctnta==5&cntry=="GB"&essround==9]=2518
        #category 6:
          #2008: 2003-2434
          LBOUND[hinctnta==6&cntry=="GB"&essround==4]=2003
          UBOUND[hinctnta==6&cntry=="GB"&essround==4]=2434
          #2010: 2059-2479
          LBOUND[hinctnta==6&cntry=="GB"&essround==5]=2059
          UBOUND[hinctnta==6&cntry=="GB"&essround==5]=2479
          #2012: 1800-2159
          LBOUND[hinctnta==6&cntry=="GB"&essround==6]=1800
          UBOUND[hinctnta==6&cntry=="GB"&essround==6]=2159
          #2014: 1499-1771
          LBOUND[hinctnta==6&cntry=="GB"&essround==7]=1499
          UBOUND[hinctnta==6&cntry=="GB"&essround==7]=1771
          #2016: 2488-2973
          LBOUND[hinctnta==6&cntry=="GB"&essround==8]=2488
          UBOUND[hinctnta==6&cntry=="GB"&essround==8]=2973
          #2018: 2519-2988
          LBOUND[hinctnta==6&cntry=="GB"&essround==9]=2519
          UBOUND[hinctnta==6&cntry=="GB"&essround==9]=2988
        #category 7:
          #2008: 2435-2924
          LBOUND[hinctnta==7&cntry=="GB"&essround==4]=2435
          UBOUND[hinctnta==7&cntry=="GB"&essround==4]=2924
          #2010: 2480-2947
          LBOUND[hinctnta==7&cntry=="GB"&essround==5]=2480
          UBOUND[hinctnta==7&cntry=="GB"&essround==5]=2947
          #2012: 2160-2599
          LBOUND[hinctnta==7&cntry=="GB"&essround==6]=2160
          UBOUND[hinctnta==7&cntry=="GB"&essround==6]=2599
          #2014: 1772-2113
          LBOUND[hinctnta==7&cntry=="GB"&essround==7]=1772
          UBOUND[hinctnta==7&cntry=="GB"&essround==7]=2113
          #2016: 2489-3544
          LBOUND[hinctnta==7&cntry=="GB"&essround==8]=2489
          UBOUND[hinctnta==7&cntry=="GB"&essround==8]=3544
          #2018: 2989-3562
          LBOUND[hinctnta==7&cntry=="GB"&essround==9]=2989
          UBOUND[hinctnta==7&cntry=="GB"&essround==9]=3562
        #category 8:
          #2008: 2925-3606
          LBOUND[hinctnta==8&cntry=="GB"&essround==4]=2925
          UBOUND[hinctnta==8&cntry=="GB"&essround==4]=3606
          #2010: 2948-3696
          LBOUND[hinctnta==8&cntry=="GB"&essround==5]=2948
          UBOUND[hinctnta==8&cntry=="GB"&essround==5]=3696
          #2012: 2600-3159
          LBOUND[hinctnta==8&cntry=="GB"&essround==6]=2600
          UBOUND[hinctnta==8&cntry=="GB"&essround==6]=3159
          #2014: 2114-2575
          LBOUND[hinctnta==8&cntry=="GB"&essround==7]=2114
          UBOUND[hinctnta==8&cntry=="GB"&essround==7]=2575
          #2016: 3545-4328
          LBOUND[hinctnta==8&cntry=="GB"&essround==8]=3545
          UBOUND[hinctnta==8&cntry=="GB"&essround==8]=4328
          #2018: 3563-4399
          LBOUND[hinctnta==8&cntry=="GB"&essround==9]=3563
          UBOUND[hinctnta==8&cntry=="GB"&essround==9]=4399
        #category 9:
          #2008: 3607-4756
          LBOUND[hinctnta==9&cntry=="GB"&essround==4]=3607
          UBOUND[hinctnta==9&cntry=="GB"&essround==4]=4756
          #2010: 3697-4819
          LBOUND[hinctnta==9&cntry=="GB"&essround==5]=3697
          UBOUND[hinctnta==9&cntry=="GB"&essround==5]=4819
          #2012: 3160-4199
          LBOUND[hinctnta==9&cntry=="GB"&essround==6]=3160
          UBOUND[hinctnta==9&cntry=="GB"&essround==6]=4199
          #2014: 2576-3374
          LBOUND[hinctnta==9&cntry=="GB"&essround==7]=2576
          UBOUND[hinctnta==9&cntry=="GB"&essround==7]=3374
          #2016: 4329-5730
          LBOUND[hinctnta==9&cntry=="GB"&essround==8]=4329
          UBOUND[hinctnta==9&cntry=="GB"&essround==8]=5730
          #2018: 4400-5676
          LBOUND[hinctnta==9&cntry=="GB"&essround==9]=4400
          UBOUND[hinctnta==9&cntry=="GB"&essround==9]=5676
        #category 10:
          #2008: 4757-14271
          LBOUND[hinctnta==10&cntry=="GB"&essround==4]=4757
          UBOUND[hinctnta==10&cntry=="GB"&essround==4]=14271
          #2010: 4820-14461
          LBOUND[hinctnta==10&cntry=="GB"&essround==5]=4820
          UBOUND[hinctnta==10&cntry=="GB"&essround==5]=14461
          #2012: 4200-12600
          LBOUND[hinctnta==10&cntry=="GB"&essround==6]=4200
          UBOUND[hinctnta==10&cntry=="GB"&essround==6]=12600
          #2014: 3375-10125
          LBOUND[hinctnta==10&cntry=="GB"&essround==7]=3375
          UBOUND[hinctnta==10&cntry=="GB"&essround==7]=10125
          #2016: 5731-17193
          LBOUND[hinctnta==10&cntry=="GB"&essround==8]=5731
          UBOUND[hinctnta==10&cntry=="GB"&essround==8]=17193
          #2018: 5677-17031
          LBOUND[hinctnta==10&cntry=="GB"&essround==9]=5677
          UBOUND[hinctnta==10&cntry=="GB"&essround==9]=17031


EDUCATION=as.numeric(EDUCATION)
INCOME=as.numeric(INCOME)
LBOUND=as.numeric(LBOUND)
UBOUND=as.numeric(UBOUND)

  
#OCCUPATIONAL STATUS
OCCUPATION=factor(c(1:10), ordered=TRUE)
OCCUPATION[iscoco>900&iscoco<1900]=1
OCCUPATION[iscoco>1950&iscoco<2900]=2
OCCUPATION[iscoco>2950&iscoco<3900]=3
OCCUPATION[iscoco>3950&iscoco<4900]=4
OCCUPATION[iscoco>4950&iscoco<5900]=5
OCCUPATION[iscoco>5950&iscoco<6900]=6
OCCUPATION[iscoco>6950&iscoco<7900]=7
OCCUPATION[iscoco>7950&iscoco<8900]=8
OCCUPATION[iscoco>8950&iscoco<9900]=9   
OCCUPATION[iscoco==100]=10            
OCCUPATION[iscoco==66666|iscoco==77777|iscoco==88888|iscoco==99999]=NA
OCCUPATION[isco08>900&isco08<1900]=1
OCCUPATION[isco08>1950&isco08<2900]=2
OCCUPATION[isco08>2950&isco08<3900]=3
OCCUPATION[isco08>3950&isco08<4900]=4
OCCUPATION[isco08>4950&isco08<5900]=5
OCCUPATION[isco08>5950&isco08<6900]=6
OCCUPATION[isco08>6950&isco08<7900]=7
OCCUPATION[isco08>7950&isco08<8900]=8
OCCUPATION[isco08>8950&isco08<9900]=9   
OCCUPATION[isco08<320]=10
OCCUPATION[isco08==66666|isco08==77777|isco08==88888|isco08==99999]=NA

OCCUPATIONpartner=factor(c(1:10), ordered=TRUE)
OCCUPATIONpartner[iscocop>900&iscocop<1900]=1
OCCUPATIONpartner[iscocop>1950&iscocop<2900]=2
OCCUPATIONpartner[iscocop>2950&iscocop<3900]=3
OCCUPATIONpartner[iscocop>3950&iscocop<4900]=4
OCCUPATIONpartner[iscocop>4950&iscocop<5900]=5
OCCUPATIONpartner[iscocop>5950&iscocop<6900]=6
OCCUPATIONpartner[iscocop>6950&iscocop<7900]=7
OCCUPATIONpartner[iscocop>7950&iscocop<8900]=8
OCCUPATIONpartner[iscocop>8950&iscocop<9900]=9   
OCCUPATIONpartner[iscocop==100]=10            
OCCUPATIONpartner[iscocop==66666|iscocop==77777|iscocop==88888|iscocop==99999]=NA
OCCUPATIONpartner[isco08p>900&isco08p<1900]=1
OCCUPATIONpartner[isco08p>1950&isco08p<2900]=2
OCCUPATIONpartner[isco08p>2950&isco08p<3900]=3
OCCUPATIONpartner[isco08p>3950&isco08p<4900]=4
OCCUPATIONpartner[isco08p>4950&isco08p<5900]=5
OCCUPATIONpartner[isco08p>5950&isco08p<6900]=6
OCCUPATIONpartner[isco08p>6950&isco08p<7900]=7
OCCUPATIONpartner[isco08p>7950&isco08p<8900]=8
OCCUPATIONpartner[isco08p>8950&isco08p<9900]=9   
OCCUPATIONpartner[isco08p<320]=10
OCCUPATIONpartner[isco08p==66666|isco08p==77777|isco08p==88888|isco08p==99999]=NA


table(isco08[isco08==1])
table(isco08[COUNTRY=="NL"])
table(isco08[isco08>900&isco08<1900])

OCCUPATION=as.numeric(OCCUPATION)
UNEMPLOYED=as.numeric(UNEMPLOYED)
GENDER=as.numeric(GENDER)
AGE=as.numeric(AGE)
EDUCATION=as.numeric(EDUCATION)
INCOMEav=as.numeric(INCOMEav)

LBOUND[is.na(LBOUND)]=".a"
UBOUND[is.na(UBOUND)]=".a"
OCCUPATION[is.na(OCCUPATION)]=".a"
UNEMPLOYED[is.na(UNEMPLOYED)]=".a"
GENDER[is.na(GENDER)]=".a"
AGE[is.na(AGE)]=".a"
EDUCATION[is.na(EDUCATION)]=".a"
INCOMEav[is.na(INCOMEav)]=".a"

HEALTH=health

table(COUNTRY)
CNTRY=factor(c(1:31), ordered=TRUE)
CNTRY[COUNTRY=="AT"]=1
CNTRY[COUNTRY=="BE"]=2
CNTRY[COUNTRY=="BG"]=3
CNTRY[COUNTRY=="CH"]=29
CNTRY[COUNTRY=="CY"]=4
CNTRY[COUNTRY=="CZ"]=5
CNTRY[COUNTRY=="DE"]=10
CNTRY[COUNTRY=="DK"]=6
CNTRY[COUNTRY=="EE"]=7
CNTRY[COUNTRY=="ES"]=27
CNTRY[COUNTRY=="FI"]=8
CNTRY[COUNTRY=="FR"]=9
CNTRY[COUNTRY=="GB"]=31
CNTRY[COUNTRY=="GR"]=11
CNTRY[COUNTRY=="HR"]=12
CNTRY[COUNTRY=="HU"]=13
CNTRY[COUNTRY=="IE"]=14
CNTRY[COUNTRY=="IL"]=15
CNTRY[COUNTRY=="IS"]=16
CNTRY[COUNTRY=="IT"]=17
CNTRY[COUNTRY=="LT"]=18
CNTRY[COUNTRY=="LV"]=19
CNTRY[COUNTRY=="NL"]=20
CNTRY[COUNTRY=="NO"]=21
CNTRY[COUNTRY=="PL"]=22
CNTRY[COUNTRY=="PT"]=23
CNTRY[COUNTRY=="RU"]=24
CNTRY[COUNTRY=="SE"]=28
CNTRY[COUNTRY=="SI"]=26
CNTRY[COUNTRY=="SK"]=25
CNTRY[COUNTRY=="UA"]=30
table(COUNTRY)
table(CNTRY)

table(HEALTH)
HEALTH[HEALTH==7]=NA
HEALTH[HEALTH==8]=NA
HEALTH[HEALTH==9]=NA
table(HEALTH)

HEALTH[HEALTH==1]=6
HEALTH[HEALTH==5]=1
HEALTH[HEALTH==6]=5
HEALTH[HEALTH==2]=6
HEALTH[HEALTH==4]=2
HEALTH[HEALTH==6]=4
table(HEALTH)

HEALTH[is.na(HEALTH)]=".a"

INCOMEDATA=data.frame(COUNTRY, CNTRY, WAVE, GENDER, AGE, UNEMPLOYED, OCCUPATION, EDUCATION, LBOUND, UBOUND, HEALTH)
INCOMEDATA2002=data.frame(CNTRY[WAVE==1], COUNTRY[WAVE==1], GENDER[WAVE==1], AGE[WAVE==1], UNEMPLOYED[WAVE==1], OCCUPATION[WAVE==1], EDUCATION[WAVE==1], LBOUND[WAVE==1], UBOUND[WAVE==1], HEALTH[WAVE==1])
INCOMEDATA2004=data.frame(CNTRY[WAVE==2], COUNTRY[WAVE==2], GENDER[WAVE==2], AGE[WAVE==2], UNEMPLOYED[WAVE==2], OCCUPATION[WAVE==2], EDUCATION[WAVE==2], LBOUND[WAVE==2], UBOUND[WAVE==2], HEALTH[WAVE==2])
INCOMEDATA2006=data.frame(CNTRY[WAVE==3], COUNTRY[WAVE==3], GENDER[WAVE==3], AGE[WAVE==3], UNEMPLOYED[WAVE==3], OCCUPATION[WAVE==3], EDUCATION[WAVE==3], LBOUND[WAVE==3], UBOUND[WAVE==3], HEALTH[WAVE==3])
INCOMEDATA2008=data.frame(CNTRY[WAVE==4], COUNTRY[WAVE==4], GENDER[WAVE==4], AGE[WAVE==4], UNEMPLOYED[WAVE==4], OCCUPATION[WAVE==4], EDUCATION[WAVE==4], LBOUND[WAVE==4], UBOUND[WAVE==4], HEALTH[WAVE==4])
INCOMEDATA2010=data.frame(CNTRY[WAVE==5], COUNTRY[WAVE==5], GENDER[WAVE==5], AGE[WAVE==5], UNEMPLOYED[WAVE==5], OCCUPATION[WAVE==5], EDUCATION[WAVE==5], LBOUND[WAVE==5], UBOUND[WAVE==5], HEALTH[WAVE==5])
INCOMEDATA2012=data.frame(CNTRY[WAVE==6], COUNTRY[WAVE==6], GENDER[WAVE==6], AGE[WAVE==6], UNEMPLOYED[WAVE==6], OCCUPATION[WAVE==6], EDUCATION[WAVE==6], LBOUND[WAVE==6], UBOUND[WAVE==6], HEALTH[WAVE==6])
INCOMEDATA2014=data.frame(CNTRY[WAVE==7], COUNTRY[WAVE==7], GENDER[WAVE==7], AGE[WAVE==7], UNEMPLOYED[WAVE==7], OCCUPATION[WAVE==7], EDUCATION[WAVE==7], LBOUND[WAVE==7], UBOUND[WAVE==7], HEALTH[WAVE==7])
INCOMEDATA2016=data.frame(CNTRY[WAVE==8], COUNTRY[WAVE==8], GENDER[WAVE==8], AGE[WAVE==8], UNEMPLOYED[WAVE==8], OCCUPATION[WAVE==8], EDUCATION[WAVE==8], LBOUND[WAVE==8], UBOUND[WAVE==8], HEALTH[WAVE==8])
INCOMEDATA2018=data.frame(CNTRY[WAVE==9], COUNTRY[WAVE==9], GENDER[WAVE==9], AGE[WAVE==9], UNEMPLOYED[WAVE==9], OCCUPATION[WAVE==9], EDUCATION[WAVE==9], LBOUND[WAVE==9], UBOUND[WAVE==9], HEALTH[WAVE==9])


getwd()
setwd("/Users/niklasknust/Google Drive/Uni/Master of Science Political Economy of Europe/Master Thesis/Data/Data Dissertation")


write.csv(INCOMEDATA, file ="incomedata.csv", row.names=FALSE)
write.csv(INCOMEDATA2002, file ="incomedata2002.csv", row.names=FALSE)
write.csv(INCOMEDATA2004, file ="incomedata2004.csv", row.names=FALSE)
write.csv(INCOMEDATA2006, file ="incomedata2006.csv", row.names=FALSE)
write.csv(INCOMEDATA2008, file ="incomedata2008.csv", row.names=FALSE)
write.csv(INCOMEDATA2010, file ="incomedata2010.csv", row.names=FALSE)
write.csv(INCOMEDATA2012, file ="incomedata2012.csv", row.names=FALSE)
write.csv(INCOMEDATA2014, file ="incomedata2014.csv", row.names=FALSE)
write.csv(INCOMEDATA2016, file ="incomedata2016.csv", row.names=FALSE)
write.csv(INCOMEDATA2018, file ="incomedata2018.csv", row.names=FALSE)

